Forums

Post Nav Link Basics (3 posts)

  1. Aleverage
    Member
    Posted 2 years ago #

    Newbie Question: Where do I put the code
    <?php posts_nav_link('sep','prelabel','nxtlabel'); ?>

    for creating next - previous post navigation tags? Not sure where to put in the WP Loop nor which template? Help? Need basic like which template, where, and what other changes in WP to allow nav to next and previous posts.

    Thanks.

  2. Aleverage
    Member
    Posted 2 years ago #

    Sorry about the typo. I meant Post Nav

  3. alchymyth
    The Sweeper
    Posted 2 years ago #

    it is actually right with the s : posts_nav_link

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

    i would put it into index.php before the endif; of the loop.
    (or into files like archive.php, category.php, which are likely to show a lot of posts)

Topic Closed

This topic has been closed to new replies.

About this Topic