[Resolved] NextGen results in primary menu lood in after footer

Home Forums Support NextGen results in primary menu lood in after footer

  • This topic has 6 replies, 4 voices, and was last updated 1 year ago by Joseph.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #532074
    Jokr

    Hi Tom,

    unluckily I’m facing a new issue with NextGen after updating GP Premium.

    The primary menu will be shown additionally after footer. If I deactivate NextGen it is displayed correctly.

    Do you have a workaround like for the bottom-up-button?

    jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
    offside.min.js?ver=1.6:1 Uncaught TypeError: Cannot read property 'classList' of undefined
        at a (offside.min.js?ver=1.6:1)
        at new i (offside.min.js?ver=1.6:1)
        at s (offside.min.js?ver=1.6:1)
        at Object.getOffsideInstance (offside.min.js?ver=1.6:1)
        at getInstance (offside.min.js?ver=1.6:1)
        at offside.min.js?ver=1.6:1
    a @ offside.min.js?ver=1.6:1
    i @ offside.min.js?ver=1.6:1
    s @ offside.min.js?ver=1.6:1
    getOffsideInstance @ offside.min.js?ver=1.6:1
    getInstance @ offside.min.js?ver=1.6:1
    (anonymous) @ offside.min.js?ver=1.6:1

    Kind regards
    Jo

    GP Premium 1.6
    #533038
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    NextGen has some sort of weird issue with HTML being hooked into wp_footer. I’m not sure what they’re doing on their end.

    You can try to fix it with this PHP:

    add_action( 'after_setup_theme', 'tu_move_slideout_navigation' );
    function tu_move_slideout_navigation() {
        remove_action( 'wp_footer', 'generate_slideout_navigation', 0 );
        add_action( 'generate_before_footer', 'generate_slideout_navigation' );
    }
    #533294
    Jokr

    Hi @Tom,

    thanks a lot for the fast response. It resoved two issues πŸ™‚
    The one of https://generatepress.com/forums/topic/slide-out-menu-not-showing-sub-menu/#post-533039 is fixed as well.

    Many thanks again – have a nice day
    Jo

    #534042
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad I could help! πŸ™‚

    #918910
    Jim

    Tom said:

    NextGen has some sort of weird issue…You can try to fix it with this PHP

    That’s for sure, and y’all have an answer for everything!

    Thanks for the good help.

    #918970
    Tom
    Lead Developer
    Lead Developer
    #1195931
    Joseph

    Never cease to amaze me. The PHP fixed the issue. I Will save this fix in my notes.
    As always very grateful for your assistance and product.

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