• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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

Custom Post Type Pagination Taxonomy Terms

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.