DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Daily archives: Monday, October 17, 2016

WordPress Post Navigation Redux (New Tags!)

Posted by Updated on

For years WordPress post navigation has been possible thanks to a flexible set of five functions, including posts_nav_link(), next_post_link() and next_posts_link(). These navigational functions continue to work great in many WordPress themes, but there are newer, even more flexible functions available to theme developers. Introduced in WordPress 4, these new navigation functions can make it easier than ever to display nav links for your WordPress-powered posts.

Code is poetry