Title: Autoptimize doesn&#8217;t exclude shiftnav
Last modified: March 4, 2017

---

# Autoptimize doesn’t exclude shiftnav

 *  Resolved [Badwolf](https://wordpress.org/support/users/badwolf/)
 * (@badwolf)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/)
 * 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](http://bit.ly/2mldmcS)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/#post-8872967)
 * 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](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/#post-8872971)
 * 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](https://wordpress.org/support/users/badwolf/)
 * (@badwolf)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/#post-8873843)
 * 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](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/#post-8873912)
 * 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.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/autoptimize-doesnt-exclude-shiftnav/#post-8873912)
 * Status: resolved