Quote:
Originally Posted by fris
Code:
<?php if (is_home() || !is_archive() || !is_paged() || !is_category() || !is_tag() || !is_single()) {?>
ad here.
<?php } ?>
this should do it.
|
It looks like he wants AND statements, not OR statements?
What I don't get is why you need all the other statements. If it is the home page, then when or why would archive, paged, category, tag, or single ever return? Seems odd to me (though I don't use wordpress a lot).