Index Nav Corrupted
-
I’m just putting a site together and have run into a snag. https://giftgoggling.com/
I’ve added the following code to my child index.php in order to keep the posts from that category showing up on my homepage.
<?php if ( is_home() ) { query_posts( 'cat=-66' ); } ?>
The code does exactly what I want it to, however I’ve noticed that when I click on the older and newer posts nav links at the bottom, I don’t scroll to the corresponding pages, I simply see the same ten posts again. And I’m guessing that’s because some posts from category 66 would be there.
Could someone show me how to change the above code so that I omit that category AND have page nav that works properly?
Thanks!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Index Nav Corrupted’ is closed to new replies.