Conditional Tag In Header Template
-
I’m trying to change something in the header template, if the header is being called from a certain category page. If that’s possible?
My code right now looks like…
<?php if ( is_category(1)) { ?> <div id="CERTAINCATPAGE"> <?php } else { ?> <div id="container"> <?php } ?>
However this doesn’t seem to work? Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Conditional Tag In Header Template’ is closed to new replies.