WordPress tutorials: Next & Previous links

Wpsnipp – There are two sets of tags that move the visitor through your WordPress site: posts_nav_link(), which displays both the Previous and Next links, and the combination pair of previous_post() and next_post(), which each display one of the Previous or Next links. This article will look at how these two tag sets work.

 

 

previous_post_link();
next_post_link();

<?php
posts_nav_link();
?>

Leave a comment