[Resolved] How to remove/modify Post Navigation Folder at bottom of page

Home Forums Support [Resolved] How to remove/modify Post Navigation Folder at bottom of page

Home Forums Support How to remove/modify Post Navigation Folder at bottom of page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #206589
    Flixar

    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.

    #206609
    Tom
    Lead Developer
    Lead Developer
    #206625
    Flixar

    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.

    #206703
    Tom
    Lead Developer
    Lead Developer

    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/

    #207019
    Flixar

    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.

    #207146
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.