Support » Themes and Templates » Previous Entries & Next Entries not working
9 years, 6 months ago
I’ve been working on a new theme and just realised that the ‘previous entries’ and ‘next entries’ link to urls ending with:
/?paged=2 (for example)
The page doesnt change when these links are clicked.
What did I mess up, I can’t figure it out.
Just use the following codes and change the common options in/at (? xD) Options -> Permalinks to Default.
<?php next_posts_link('« prev page') ?>
<?php previous_posts_link('next page »', '-') ?>
Works well for me.
I never changed the Permalink settings, they are still on default.
The code in my theme is:
<?php next_posts_link('« Previous Entries') ?>
<?php previous_posts_link('Next Entries »') ?>
Which is why I am confused as to the sudden source of this issue.
In what situations would the link point to a /?paged=2 etc.. ?