Archived topic
How to remove/modify Post Navigation Folder at bottom of page
5 replies · Started by Flixar on July 4, 2016
Dear Team,
Please advise why the post navigation does not list out the post according to the categories. We have separated the post into 2 category namely 'References' and 'News' but end up the folder mix-up all the categories together.
So, I need to know if we can display the folder's post according to category? Also please advise on how to remove the navigation folder at the bottom of the page. And can we have the previous & next button at the bottom of the post (which only allows the next & previous within that particular category only).
Hope to hear from you soon.
Thank you.
Hi there,
This might help: https://generatepress.com/forums/topic/nextprevious-links-within-category-only/#post-157100
Let me know :)
Dear Mr. Tom,
We had pasted the Raw code from your link to the template_tag.php; replacing the if ( ! function_exists( 'generate_content_nav' ) ) function but nothing changed - its still showing the same folders without segregating based on categories.
Please advise.
Hi there,
No need to do that, simply add this PHP:
add_filter( 'generate_category_post_navigation','generate_force_category_post_navigation' );
function generate_force_category_post_navigation()
{
return true;
}
Using one of these options: https://generatepress.com/knowledgebase/adding-php-functions/
Dear Mr. Tom,
Great, it was working fine with Pluginception. Thank you very much for your support. You may close this ticket now.
Thank you.
You're welcome :)
