WordPress.org

Forums

Next and Previous links on blog home page (3 posts)

  1. jrickards
    Member
    Posted 9 years ago #

    Hi:

    I want to add Next and Previous links on the home page (I think I removed them when I modified the template months ago). I tried using next_post() and previous_post() but they only work when viewing a post, not the home page.

  2. yuh
    Member
    Posted 9 years ago #

    take a look at this page http://codex.wordpress.org/Template_Tags/posts_nav_link

    normaly it should be this code, and work :)

  3. jrickards
    Member
    Posted 9 years ago #

    Yeah! That's it. Thanks.

    The name of the template tag didn't ring a bell for me.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags