WordPress.org

Support

Support » Themes and Templates » Previous Entries & Next Entries not working

Previous Entries & Next Entries not working

  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just use the following codes and change the common options in/at (? xD) Options -> Permalinks to Default.

    <?php next_posts_link('&laquo; prev page') ?>
    <?php previous_posts_link('next page &raquo;', '-') ?>

    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('&laquo; Previous Entries') ?>
    <?php previous_posts_link('Next Entries &raquo;') ?>

    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.. ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Previous Entries & Next Entries not working’ is closed to new replies.
Skip to toolbar