bedspring
Member
Posted 5 years ago #
I upgraded to 2.1, and I just noticed the my next_post_link and previous_post_link are not showing up on any of my pages. I can see the divs in my source code, but nothing is inside them.
I'm using a custom theme, and nothing has changed since the update.
Any ideas?
http://www.fearless-future.com/wordpress
Here is the code after the loop:
<div class="navigation_bottom">
<div class="alignleft"><?php next_post_link('%link', '« Previous Entries', TRUE); ?></div>
<div class="alignright"><?php previous_posts_link('%link', 'Next Entries »', TRUE); ?></div>
</div>
bedspring
Member
Posted 5 years ago #
Thanks,
I tried that already, none doing... :(
Also these are the navigational links on the front page and the archives to see the previous and next pages of entries.
The previous and next article links on the single.php work fine.
bedspring
Member
Posted 5 years ago #
I need the navigational links outside the loop.
They are to access the older posts on the index page.
This is what I used: <?php next_posts_link('« Previous Page') ?> <?php previous_posts_link('Next Page »') ?>
With an "s" Without, doesn't work... for me anyway.
tinhead
Member
Posted 5 years ago #
Had the same problem - disabled sticky plugin and all returned to normal
bedspring
Member
Posted 5 years ago #
Thanks, cmm225, I tried that again just to see if I was missing something, but still nothing shows up.
I also tried activating the default theme to see if their previous and next entries work on the main page, and they don't show up either with the default theme.
bedspring
Member
Posted 5 years ago #
Thanks tinhead, you are my hero.
It works now.
Thanks everyone!
tinhead
Member
Posted 5 years ago #
Thanks! All the world needs now is a sticky plugin that works :)