Theme Author
Tom
(@edge22)
Hmm, that’s strange. Can you disable any caching plugins (including Autoptimize) you have activated while we debug?
Let me know 🙂
pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.
if the problem is not there at that point, some autoptimize (re-)configuration might be needed to fix this. there are troubleshooting tips and info on how to exclude in the AO FAQ.
hope this helps debugging,
frank (ao dev)
Thread Starter
ninde
(@ninde)
Hai. Autoptimize is disabled now.
These plugins are activated at this point
Codefragmenten
NextGEN Gallery
Really Simple SSL
Use Any Font
Wordfence Security
Thank you for looking into the problem 🙂
-
This reply was modified 7 years, 2 months ago by
ninde.
Theme Author
Tom
(@edge22)
Bizarre. Are you using the same versions (theme and plugin) on the problem site vs. the working sites?
Any custom functions on the problem site?
Thread Starter
ninde
(@ninde)
Hi Tom,
All my sites I’m using Generate Press. But all of them with a child theme so it is a possibility that the theme version is older on the other sites. GeneratePress Versie: 2.2.2 is the theme version on the problem site.
These are the versions I use in combination with NextGen
GeneratePress Versie: 1.3.41 with working mobile menu
GeneratePress Versie: 1.4 with working mobile menu
GeneratePress Versie: 2.1.4 For testing purposing installed NextGen and the same problem occurs. Before mobile menu worked, after installing and activating NextGen no working mobile menu anymore. Disabling NextGen fixed it again.
All plugins are up to date.
I’m using the same Code Snippets on the sites.
Footer:
add_action(‘after_setup_theme’,’generate_copyright_remove_default_message’);
function generate_copyright_remove_default_message()
{
remove_action( ‘generate_credits’, ‘generate_add_footer_info’ );
remove_action( ‘generate_copyright_line’,’generate_add_login_attribution’ );
}
/**
* Add the custom copyright
* @since 0.1
*/
add_action(‘generate_credits’,’generate_copyright_add_custom_message’);
function generate_copyright_add_custom_message()
{
?>
<?php
}
Sidebars:
add_filter( ‘generate_left_sidebar_width’,’generate_custom_left_sidebar_width’ );
function generate_custom_left_sidebar_width()
{
return ’20’;
}
add_filter( ‘generate_right_sidebar_width’,’generate_custom_right_sidebar_width’ );
function generate_custom_right_sidebar_width()
{
return ’15’;
}
Deactivating the Code Snippets didn’t solve the problem.
Thread Starter
ninde
(@ninde)
Ok, on the problem site copied the older GP version 1.4 and activated it, and now I got a working mobile menu!
Thread Starter
ninde
(@ninde)
Hi Tom,
I did some more testing. Version 1.4 is the last working version, as of 2.0 and up the problem with the mobile menu in combination with NextGen occurs. For now I’ll use version 1.4 with working mobile menu :O)
If you can figure out the problem, or know a solution, will you let me know?
Regards, Petra
Theme Author
Tom
(@edge22)
Hmm, so here’s a test site with GP 2.2.2 and the latest NextGen with a test gallery: https://tomusborne.com/dev/gallery/
Everything seems to be working fine.
I wonder if there’s a third plugin which is conflicting on your site?
I have same issue with Travel Agency theme – . I only noticed by chance that blogs werent scrolling nor clickable when viewing from mobile- HUGE drop in visits due to it.
Might help you find the issue with your one..
Thread Starter
ninde
(@ninde)
Even with all the other plugins deactivated the problem remains. So I stayed with GP version 1.4
It’s still bugging me though. I am building another website and running into the exact same problem again. So now I have to choose whether to go to version 1.4 again or use another gallery. I tried a whole lot of other galleries but none of them work as well as nextgen. I need a gallery with the option of albums and nested albums. There seems no other capable of this.
Thread Starter
ninde
(@ninde)
Still testing. Found out that the problem only occurs when the navigation is located in the sidebar
Theme Author
Tom
(@edge22)
Hi there,
I can take another look if you have a site set up where I can see the issue?
Let me know 🙂
Thread Starter
ninde
(@ninde)
That would be awesome Tom! The url is https://www.theaterauthentiek.nu/wp/
Theme Author
Tom
(@edge22)
What if you do this?:
remove_action( 'wp_footer', 'generate_clone_sidebar_navigation' );
add_action( 'generate_after_footer', 'generate_clone_sidebar_navigation' );
Let me know 🙂
Thread Starter
ninde
(@ninde)
oh that’s strange, now I have two mobile menu’s. The upper one doesn’t work but the one underneath that one does work! Getting closer I think? :O)