Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Quick Question on WordPress/PHP conditional tags. Re: Quick Question on WordPress/PHP conditional tags.

#67494
Bob
Member

Hmm, that is odd. Try removing the line:

$customField1 = get_option("theme_logo");

And replacing the line:

elseif ( isset($customField1[0]) )

with the line:

elseif( is_page_template('templatnamehere.php') )

Replace templatenamehere with another template you have, just make sure its different from store.php ’cause thats already being used in the first if statement so you wouldn’t see any difference then. Its just for testing purposes so either create a test template and use that in the above elseif statement or use an other template you have.
See if that helps.