August 7, 2018 at 1:21 pm
Hi Team,
I’ve been using ShiftNav Pro on this Virtue site for some time with no problems.
Recently, users have observed that the menu doesn’t work on smaller screens. The “Hamburger” icon is visible but it doesn’t do anything.
I wrote the plugin author and Chris replied:
Really weird issue, and it took a while to track down, but the problem is that you have two copies of your footer code on your site – that includes ShiftNav, your Instagram and Facebook javascript, etc.
Therefore you have two toggle buttons with two events attached, and clicking does a simultaneous open/close of the menu.
So it sounds like the issue is that your theme is calling wp_footer() twice. This should be in the footer.php file, and it should be called exactly once.
I do have a child theme with a slightly modified version of footer.php but it doesn’t play with wp_footer, just sets the footercredits. And it has worked for a long time – and it’s fine on all other sites. So it still feels like a ShiftNav problem.
Can you shed any light?
Thanks,
Phil.