Archived topic
Siloing. How to show folder for related category but not previous posts
3 replies · Started by laidbackluke on October 19, 2019
Hello,
Issue:
On each of my posts at the very bottom, I see the category which my posts falls under. For example, a post called "what I think of keto" is part of the diet category and is shown at bottom of the article.
However, there is also link to previous posts that might not have anything to do with category. This is because it is simply the previous article in the chain of articles I published.
Expected Outcome:
I want my site NOT to display previous posts as its un-related to my actual post content. How do I do this?
Thanks,
Lucas
Hi there,
you can disable the Post Navigation in Customizer > Layout > Blog.
Or you can add this PHP snippet so post nav stays within the scope of the current post category:
add_filter( 'generate_category_post_navigation', '__return_true' );
Thanks David, Appreciate the help.
You're welcome