WordPress.org

Ready to get started?Download WordPress

Forums

previous_post_link is blank (3 posts)

  1. dkappelman
    Member
    Posted 6 years ago #

    I'm trying to figure out why previous_post_link(); returns blank on all posts after a certain post. I've searched the forum, but can't seem to find any answers for why this might be happening. next_post_link(); works fine.

    It works here:
    http://www.fangraphs.com/blogs/index.php/cueto-mania/
    but does not work in the very next post here:
    http://www.fangraphs.com/blogs/index.php/phillies-win-on-a-walk/

    I've tried this with by my theme and the standard wordpress theme and it's broken in both places. Furthermore, it was broken in wordpress 2.1.2, and it's still not working when I upgraded to 2.5.

    Any help would be greatly appreciated!

    Thanks!
    -David

  2. dkappelman
    Member
    Posted 6 years ago #

    Must have posted the wrong links.... let's try that again.. It works here:
    http://www.fangraphs.com/blogs/index.php/welcome-to-the-majors-4608/
    but not in the very next post here:
    http://www.fangraphs.com/blogs/index.php/fangraphs-weekly-awards-4708/

  3. shacker
    Member
    Posted 6 years ago #

    I've got a blog where prev_post and next_post suddenly stopped working altogether. Replaced them with the newer previous_post_link and next_post_link, but no dice. Suddenly these just output blanks. Haven't changed templates at all recently. Weird. Ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic