WordPress.org

Support

Support » How-To and Troubleshooting » Restrict Prev/Next_Post_Link tag to categories

Restrict Prev/Next_Post_Link tag to categories

  • Is there a way to get the Template Tag to show the next/previous post in the same category as the current post, but just for selected categories? Excluding categories won’t work, because it would bypass any post which is in both categories (selected and excluded one).

    I want the next_post_link to look only for posts in such selected categories.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Restrict Prev/Next_Post_Link tag to categories’ is closed to new replies.
Skip to toolbar