View Single Post
Old 02-21-2011, 09:42 PM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Now that I think about it, wouldn't

Code:
<?php if (is_home() || !is_archive() || !is_paged() || !is_category() || !is_tag() || !is_single()) {?>

ad here.

<?php } ?>
Return the ad on a lot more pages than the home page? You're code is basically saying...

[b]Show the ad if:
• It's the home page
• Or if it's not the archive
• Or if it's not paged
• Or if it's not a category
• Or if it's not a tag
• Or if it's not a single.[b]

So it would display the ad on any page that wasn't the archive for instance. Because with all the "OR" double pipes, only one of those circumstances needs to be true for the ad to display.
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote