Quote:
Originally Posted by potter
Well, it's not-category, and not-paged. My point was
Why not simply use:
Code:
<?php if (is_home()) {?>
ad here.
<?php } ?>
??
Because using
Code:
<?php if (is_home() || !is_archive() || !is_paged() || !is_category() || !is_tag() || !is_single()) {?>
ad here.
<?php } ?>
Is exactly the same as putting:
Code:
<?php if (is_home()) {?>
ad here.
<?php } ?>
and
Code:
<?php if (!is_archive()) {?>
ad here.
<?php } ?>
On the same page. So not only will it show up on the home page, but it would want to be shown on any page that ISN'T an archive page.
Maybe I'm not explaining myself, but I just don't understand the point of having alllll those extra OR statements?
|
ya you would still need to have !is_paged() though, cause home is considered page2 page3 of the index