• Resolved Badwolf

    (@badwolf)


    There seems to be a conflict between Shiftnav and Autoptimize when JS optimization is turned on. I excluded “seal.js, js/jquery/jquery.js, shiftnav.js, shiftnav.min.js, Gruntfile.js, admin.settings.js, admin.menu.js” however, shiftnav still doesn’t function (menu doesn’t open when pressed). Could you please help me? Any suggestions on how to fix it?

    website: http://bit.ly/2mldmcS

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Frank Goossens

    (@futtta)

    OK, what JS-errors do you see in your browser console?

    also; you’re currently (also) using something else to optimize JS, creating /wp-content/uploads/f85bb50999ed201391d23306b5f37af1.js. if that other plugin runs before AO does, AO doesn’t see the exclusions you’ve listed above, so make sure to disable that other plugin when using AO for JS minification.

    Plugin Author Frank Goossens

    (@futtta)

    ah, possibly related; you have a JS error on the console;

    SyntaxError: expected expression, got ‘<‘ jquery.custom.js:1

    the reason being that wp-content/themes/village/jscript/jquery.custom.js shows a “not found”-page (HTML instead of JS).

    Thread Starter Badwolf

    (@badwolf)

    Thanks Frank! You’re the man with such a quick response. Didn’t think about other plugin interfering. I disabled the WP Hummingbird and Speed Booster Pack to check whether both of them were causing errors. However, everything started working only when I disabled the WP Hummingbird plugin.

    Plugin Author Frank Goossens

    (@futtta)

    WP Hummingbird does similar things as AO, using multiple minifying plugins concurrently can indeed cause problems (they’re a jealous bunch 😉 )

    have a nice weekend,
    frank

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Autoptimize doesn’t exclude shiftnav’ is closed to new replies.