WordPress 4.9.4 (and earlier): next_post_link()/previous_post_link() broken for custom post types in same custom taxonomy term?

My code is like this:

next_post_link(‘%link’, ‘« ‘.__(‘Next post’,’textdomain’),true,”,’jobgroup’);

The link to the next post is being displayed however the third parameter $in_same_term seems to be completely ignored even though parameter $taxonomy is correct (https://codex.wordpress.org/Function_Reference/next_post_link).

I try to navigate from post to post within a custom post type named job. Is anybody experiencing the same problem or knowing a solution?

Read more here:: WordPress 4.9.4 (and earlier): next_post_link()/previous_post_link() broken for custom post types in same custom taxonomy term?

Leave a Reply

Your email address will not be published. Required fields are marked *