• Resolved LiamMcArthur

    (@liammcarthur)


    I’ve just installed this plugin onto my local WordPress website, changed the settings so that it’s pointing to the correct menu and left all of the other settings as default, but the menu doesn’t appear to work. When going mobile, the bar appears at the top but when clicking the bars icon, nothing happens and there are no javascript errors produced. Are there any known issues that would cause this?

    I’m using the latest version of WordPress in the latest version of Google Chrome.

    • This topic was modified 7 years, 3 months ago by LiamMcArthur. Reason: additional information that may help support
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sevenspark

    (@sevenspark)

    Hi Liam,

    I’d really need to see the site to assess it. Could be CSS interference, could be JS interference, could be a transparent element blocking the toggle, could be the entire panel was disabled in the settings. It’s easy to figure out if I can see the site, but otherwise all I can do is speculate.

    Since you said it’s a custom theme, I’ll also ask the obvious question – are you sure it includes all the required WordPress hooks? Specifically, did you include wp_footer() just before the closing body tag? https://codex.wordpress.org/Function_Reference/wp_footer

    If not, none of the properly enqueued JS will load, so that would certainly explain the menu not opening.

    Hope that helps!

    Chris

    Thread Starter LiamMcArthur

    (@liammcarthur)

    I can see all of the scripts and stylesheets loading correctly and yes I can confirm wp_footer() is included in the footer.

    I’ve been comparing my site source with the demo on http://shiftnav.io/free/ and I’ve noticed that my “shiftnav-toggle-main” division is being added into the footer of the website, whereas the demo is generated in the header. Further to this, I have no division with a class of “shiftnav-shiftnav-main”. I’ll continue investigating the issue but unfortunately, I wouldn’t be able to provide a working demo at this stage because it’s a private on-going project for my employer.

    Feel free to close this ticket, I just thought I’d check with you just as I wasn’t sure if it was a compatibility problem with 4.7 or something.

    Thread Starter LiamMcArthur

    (@liammcarthur)

    UPDATE: I’ve no idea how, but “Display Main ShiftNav Panel” was unticked! I’ve enabled that checkbox and it’s working magically now!

    Plugin Author sevenspark

    (@sevenspark)

    Glad to hear you got it sorted, Liam! Yup, that’s what I meant by “could the entire panel was disabled in the settings” 🙂

    Take care,

    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working with custom theme’ is closed to new replies.