WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Next, Previous links not showing up (3 posts)

  1. estevancarlos
    Member
    Posted 2 years ago #

    I'm assuming this is a common problem and that there may be multiple reasons why it doesn't work. Can anyone point me in the right direction to do some troubleshooting?

    You can view a page here: http://estevancarlos.com/v7/projects/little-doll-and-monk/

    I'm trying to use this: <?php posts_nav_link(); ?>

    Nothing shows up. Suggestions?

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    is that a single post you are linking to?

    if so, then try:

    next_post_link() and previous_post_link()

    http://codex.wordpress.org/Function_Reference/next_post_link
    http://codex.wordpress.org/Function_Reference/previous_post_link

    your code will only work in index or archive pages.

    http://codex.wordpress.org/Function_Reference/posts_nav_link

  3. estevancarlos
    Member
    Posted 2 years ago #

    Thanks very much.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags