Site logo

Archived topic

NextGen results in primary menu lood in after footer

6 replies · Started by Jokr on March 27, 2018

Viewing posts 1–7 of 7

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

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' );
}

Awesome, glad I could help! :)

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.

Glad it helped :)

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.

This archived topic is closed to new replies.