Conditionals Won’t Work!
-
OK, I’m having some trouble getting a conditional to work at the top of one of my pages.
My code looks like this:
<?php if ( is_home() ) { ?> <?php query_posts('showposts=10&offset=1'); ?> <?php } else { ?> <?php query_posts('showposts=10'); ?> <?php } ?>And no matter what, it acts as if it’s the homepage. Anyone know why?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Conditionals Won’t Work!’ is closed to new replies.