Is it possible to force previous/next navigation to browse through the posts (back and forth) that are only inside the same category (and to exclude other categories)?
Scribu's Smarter Navigation plugin does exactly this.
The functions accept an $in_same_cat argument, the default value of which is false. Just set that to true.
previous_post_link($format, $link, true);
next_post_link($format, $link, true);
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago