Can an If Statement Work In the WordPress Header?
-
Hey Guys,
I currently have an adsense block in my wordpress header which appears on all pages of my blog. Im happy with this, but I want to exclude that ad section if a certain template is used, image.php.
I have tried several if statements in the header to try and accomplish this, aswell as read over the codex in detail, but I cant work it out.
What exactly do I need to use to exclude X if the image.php template file is currently being used please?
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Can an If Statement Work In the WordPress Header?’ is closed to new replies.