Then how do I hide more than one Adsense code from more than one page. What I presently do to hide one page is I use this code:
<?php if($post->ID != xxxx): ?>
(Adsense code)
<?php endif; ?>
conditional tags
http://codex.wordpress.org/Conditional_Tags
http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
or try:
<?php if( $post->ID != xxxx && $post->ID != yyyy && $post->ID != zzzz ): ?>
I use your second option and it works. Thanks. What about hiding Adsense for PAGE? I have two PAGES (Disclaimer & Sitemap).
I already posted the link to the ‘conditional tags’ chapter of the Codex – so you have all the neccessary information; try to apply the info and play with the possibilities.
if you need info for php if/elseif/else, and logical operators, please search the web for tutorials.
Alright, I’ll do that. Again a big thank you for your help.