I am currently redesigning a website where I have been asked to split the blog posts into two groups:
1. posts that belong to the apiary category
2. posts that not belong to the apiary category (e.g. all other posts)
I have managed to separate the blog posts into these to groups.
My question relates to when one is viewing a single post and clicks the next or previous buttons through the other posts.
For example, when visiting this page<, and you click “< Previous”, you’ll notice the sidebar changes as the post is not an apiary post.
Is there a way to omit posts while browsing through the blog reel?
Cheers,
]]>the_post_navigation( array(
'in_same_term' => true,
'taxonomy' => 'category',
));
]]>