Upgraded to 2.5, my Previous and Next links disappeared
-
The navigation links at the bottom of my index and search results pages are no longer showing up. The space is there for them, but no links.
If I force it by manually adding /page/2 to the URL, I get a “Newer Entries” link where it should be, but still no “Previous Entries.” And older pages do the same thing. According to my WP, I have no previous posts (even though I have about 1,000). What the hey?
I’ve tried changing to different templates, with no luck. My navigation code is the same as what appears in the latest default index.php. I skimmed the forums here and saw issues with permalinks, but changing mine to Default didn’t help. My index page does not contain query_posts() anywhere.
Readers can see my last 10 posts and that’s it. Help! Here’s what I’m using:
<?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div> <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?>
- The topic ‘Upgraded to 2.5, my Previous and Next links disappeared’ is closed to new replies.