When I use $in_same_term in my Previous and Next Post link, how can I restrict those links to posts within the same PRIMARY category? Currently this does not work and links can be in either of the posts categories.
next_post_link('%link', '<i class="fas fa-chevron-circle-left" aria-hidden="true" title="Nieuwer"></i>', $in_same_term = true, FALSE);
The page I need help with: [log in to see the link]
- The topic ‘Previous and Next Post links in same (primary!) category’ is closed to new replies.