Title: Stop Loading jQuery Incorrectly
Last modified: August 20, 2016

---

# Stop Loading jQuery Incorrectly

 *  [barryarm](https://wordpress.org/support/users/barryarm/)
 * (@barryarm)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/)
 * Your plugin is breaking all other jquery based plugins
 * Load jquery correctly and do not hard code it.
 * This needs to be fixed asap as its causing a lot of problems

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

 *  Plugin Author [alaingg](https://wordpress.org/support/users/alaingg/)
 * (@alaingg)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277350)
 * Which plugin, please be more specific.
    The most recent releases includes jQuery
   using the **wp_enqueue_script**. What plugin cause this conflict on your website?
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277394)
 * Hi Alain
    Same problem here. The images are loaded but they are displayed side
   by side without the accordion function. The option “Include jQuery – Uncheck 
   if other …” does not seem to have any effect. It seems that there are two query-
   ui-… loaded. One is your: jquery-ui-1.8.10.custom.min.js. The other seems to 
   be with version 1.7 and no custom. I am not a coder but.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277395)
 * Someone else wrote here something interesting about [two jquery libraries](http://www.designchemical.com/blog/index.php/faq/i-get-the-error-message-error-jquery-dc-jqaccordion-widget-3-item-menu-dcaccordion-is-not-a-function/)
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277396)
 * GET [http://web192.login-105.hoststar.ch/publicsite/wp-includes/js/ver=20101110](http://web192.login-105.hoststar.ch/publicsite/wp-includes/js/ver=20101110)
   
   404 Not Found from my post above seems not to find that file here: l10n.js
 * But be careful with my posts – I really am not a coder at all.
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277397)
 * And Chrome Browser tells me:
    resource interpreted as script but transferred 
   with mime type text/x-js
 * I’ll ask my provider if this is a server side setting that has to be changed 
   to content-type:application/x-javascript
 * I’ll then post the answer/result here.
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277398)
 * The problem lies not on the server side. Its the theme. I use Thesis theme 1.8.2.
   I then changed to Custom Community 1.8.3. and guess what: accordion image menu
   worked fine! At least I know where to look now.
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277399)
 * The problem seems to be that the accordion code is working with $ instead the
   term jQuery.
 *  [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * (@heikkiheer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277400)
 * HAHAAAAA! Muahhahah! GOT IT!
 * Here is the reason for the problem when u**sing accordion image menu with thesis
   theme**:
    wordpress jquery and some other jquery library are conflicting because
   the accordionImageMenu-0.4.js seems to be referring to the wrong jquery library.
 * How to fix it:
    1. Open accordionimagemenu-0.4.js 2. replace **(function( $ ){**
   with **$(document).ready(function(){** in the beginning of the script. 3. replace
   the last line **})( jQuery );** with **});** Done.
 * I’ve tested my customization not to every extend. And as a mentioned before: 
   I am no coder so I do not really know what I am doing here. I just try to do 
   it.

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

The topic ‘Stop Loading jQuery Incorrectly’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-image-menu.svg)
 * [Accordion Image Menu](https://wordpress.org/plugins/accordion-image-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-image-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-image-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-image-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-image-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-image-menu/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [heikkiheer](https://wordpress.org/support/users/heikkiheer/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/stop-loading-jquery-incorrectly/#post-2277400)
 * Status: not resolved