How to keep prev/next nav on posts in same taxonomy

There’s a decent stack of functions here:

  1. next_post_link()
  2. get_next_post_link()
  3. get_adjacent_post_link()
  4. get_adjacent_post()

Unfortunately, within this stack of functions, there aren’t any filters that are intended to change the $in_same_term parameter.

Probably the best approach would be to create a child theme and override the single.php file within the child theme, and change the parameters of next_post_link() and previous_post_link() to set the $in_same_term parameter to true.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)