get_adjacent_post help! (1 post)

  1. spamherefool
    Posted 5 years ago #

    I am attempting to create a "next post" link using get_adjacent_post();

    My code is below, it does display a "next post" but the logic appears off, as it rarely displays the correct "next post".

    For example, the "next post" link from on the URL below actually links to the last post.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Topic Closed

This topic has been closed to new replies.

About this Topic