WordPress.org

Forums

Post Next/Prev Buttons (3 posts)

  1. MaddTechWF
    Member
    Posted 2 years ago #

    I have some navigation buttons that I want to use to move from post to post. The code is below. I need to figure out how to make these button.

    <div id="portfolio-navi">
    <ul>
    <li><a href="#">&larr; Prev</a></li>
    <li><a href="#">Next &rarr;</a></li>
    </ul>
    </div>
  2. vtxyzzy
    Member
    Posted 2 years ago #

    You should be able to use the previous_post_link() and next_post_link() functions as explained in the Codex.

  3. MaddTechWF
    Member
    Posted 2 years ago #

    Thanks for the help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.