[Support request] disabling Theme Post navigation, without disabling elementors Post navigation

Home Forums Support [Support request] disabling Theme Post navigation, without disabling elementors Post navigation

Home Forums Support disabling Theme Post navigation, without disabling elementors Post navigation

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #449519
    Dominic

    with the recent blog post widget update I want to use elementors post navigation instead the theme navigation. but when I disable the theme single post navigation, elementors navigation gets disabled aswell.

    #449591
    Tom
    Lead Developer
    Lead Developer

    Try this function:

    add_action( 'after_setup_theme', 'tu_remove_post_navigation' );
    function tu_remove_post_navigation() {
        add_filter( 'generate_show_post_navigation', '__return_false' );
    }
    #450057
    Dominic

    I added the function (with the my custom functions Plugin) but the problem still exsists.

    #450314
    Tom
    Lead Developer
    Lead Developer

    And the post navigation is enabled in the Customizer?

    #450924
    Dominic

    yes, its the same as before. either post single post navigations are enabled or both disabled. where do I insert function without plugin? in the GP folder into the functions.php?

    #450952
    Tom
    Lead Developer
    Lead Developer

    You would insert it using one of these methods: https://docs.generatepress.com/article/adding-php/

    #451014
    Dominic

    no, still doesnt work

    #451178
    Tom
    Lead Developer
    Lead Developer

    Can you link me to one of the pages with the issue?

    #451600
    Dominic

    here
    currently I have turned the function off, but if its important, I will turn it on

    #451774
    Tom
    Lead Developer
    Lead Developer

    So right now you have the GP post navigation enabled, and nothing else?

    Where is the Elementor post navigation supposed to be?

    #452004
    Dominic

    navigation enabled
    [URL=http://www.directupload.net/file/d/4940/3g9diyc5_jpg.htm][IMG]http://fs5.directupload.net/images/171218/temp/3g9diyc5.jpg[/IMG][/URL]

    navigation disabled
    [URL=http://www.directupload.net/file/d/4940/lkylcrkx_jpg.htm][IMG]http://fs5.directupload.net/images/171218/temp/lkylcrkx.jpg[/IMG][/URL]

    with your function code I have the same result. either both enabled or both disabled

    #452319
    Tom
    Lead Developer
    Lead Developer
    #452440
    Dominic

    added the code

    #452605
    Tom
    Lead Developer
    Lead Developer

    Ah, that filter was introduced in GP 2.0, so you’ll need to update.

    #452762
    Dominic

    ok thx. I was waiting for a plugin update but realized that I have to update the theme.

    did the speed optimizing recommentadtions change after the update or are they still valid?

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