Had a good look around but couldn’t find an answer to this… I bet it’s something simple though!
I have a custom post type, and several custom taxonomies.
When I view a single post from this custom post type, how can I make the next / previous links only show links to posts with the same post type AND matching one of the custom taxonomies on the currently viewed post.
For example, the post type could be “Figures” with a custom taxonomy of “Year”. If I am viewing a “Figure” from the “Year” 1985, the next / previous should only show figures from 1985. Currently I can only get it to show links to all figures.