Previous and Next Post links in same (primary!) category
-
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]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Previous and Next Post links in same (primary!) category’ is closed to new replies.