I need help with this php code
-
<?php if (!is_page('Contact Us')) { ?> ---ADSENSE CODE) <?php } ?>
So I have 4 pages I dont want adsense showing, at the moment I can only add the “contact us” page for adsense not to show.
I have another 3 pages I want to hide adsense on, how do I work this code?
I tried doing
<?php if (!is_page('Contact Us', 'checkout')) { ?>
but that didnt work
thanks
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘I need help with this php code’ is closed to new replies.