jQuery being loaded mutliple times (4 posts)

  1. djnorthyy
    Posted 6 years ago #

    I have been recently started optimizing my blog. I am using firebug and have found that jQuery is being loaded multiple times by different plugins. Is there any way I can stop this?

    You can see my blog here: http://www.harrynorthover.com/blog.

    Cheers in advanced,

  2. djnorthyy
    Posted 6 years ago #

    Any idea?

  3. Darran
    Posted 6 years ago #

    I am sorry, the only way is to go and edit the plugin files to tell them not to load jquery multiple times. I had the exact same frustration when I was using MooTools.

    What I did was to find out all the classes the plugins were using, download it and tell the plugins to stop loading jQuery. It was a one time thing, the only drawback is that you got to add in new classes if any plugin needs them.

  4. Steven
    Posted 6 years ago #

    I'm having the same problem.

    Some plugins like Wordtube and wp-simpleviewer loads jQuery as well. The result is that jQuery stops working. Not good.

    Is the ONLY way to go into the plugin code and comment out the part that lodas the jQuery script?

    I know Drupal has a system that controls what scripts are loaded, and makes sure that a script is not added / loaded twice. It would be really usefull if WordPress had something similar :(

Topic Closed

This topic has been closed to new replies.

About this Topic