Add Links to Previous and Next Single Custom Post Type Entries In Same Taxonomy Term

This code enables you to dynamically add previous & next entry inks to entries in the same taxonomy term only.

Next and previous Links in same taxonomy term

You can use this code with any custom post type in any Genesis child theme and output the next and previous links in any Genesis hook position.

This code will NOT link entries for different taxonomy terms together as seen in the following demo video.

Demo Video #

Shows the entry title linked for posts in the same CPT taxonomy term together.

You can also swap out the title and link text like next and previous post.

Installation Steps #

There’s only 1 step :

Copy & paste the PHP code to the end of your child themes functions.php file.

Download Folder

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.