WordPress.org

Ready to get started?Download WordPress

Forums

next/prev post link (5 posts)

  1. hellowoo
    Member
    Posted 3 years ago #

    for some reason my previous/next post links are not working. any ideas?

    [code moderated - please use the http://pastebin.com/ ]

  2. hellowoo
    Member
    Posted 3 years ago #

    it may be that I'm missing one of the required pages, like archives or something? I'm not sure. I'm building the theme from scratch. and this is my index.php page. not sure if this should be on single.php

    I have it posting 1 post per page, then want to navigate through each via link. assuming this is how I do it?

  3. According to the codex, that code is used by single.php.

    Maybe try using previous_posts_link() and next_posts_link() instead?

  4. hellowoo
    Member
    Posted 3 years ago #

    nope, didnt work either :(

    http://pastebin.com/hDmR3mVJ
    link to new code since it got moderated.

  5. hellowoo
    Member
    Posted 2 years ago #

    any ideas? :(

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.