WordPress.org

Ready to get started?Download WordPress

Forums

Next/Previous Posts 'looping'? (2 posts)

  1. masok88
    Member
    Posted 2 years ago #

    Hey I've got next & previous posts link going on my single-'posttype'.php file and when I hit previous article it goes to back an article, when I go to hit it again it links back to the page I was on originally.

    The 'next' link also just wants on appear at random pages and not in any consistent way.

  2. vtxyzzy
    Member
    Posted 2 years ago #

    In single pages, the function you generally want is 'next_post_link()', not 'next_posts_link()'. Is that what you are using?

Topic Closed

This topic has been closed to new replies.

About this Topic