Quote:
Originally Posted by Lynne
what is "photobutton"? Is it a variable or what? That has to be a valid condition there or it's not going to work.
|
Code:
if (THIS_SCRIPT == 'yourpage')
I understand that this statement must be true for the rest of the code to executed. So you'd want it to equal true if you are in /gallery, right? How can I do this? What should I make THIS_SCRIPT in order to make the statement true? I don't understand how I can make this work.
I started with THIS_SCRIPT but it didn't work. So I changed it to photobutton (the title of the plugin).
Thanks for your help