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.
Aleverage
Member
Posted 2 years ago #
Sorry about the typo. I meant Post Nav
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)