How To Resolve jquery conflict

I have a jQuery conflict. I have two jquery files included in the auto generated HTML on the page:

1. http://www.yourvirtualworld.tv/cms/wp-includes/js/jquery/jquery.js

2. http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js

How can I disable the second one (just before slicebox.js)? Being a newbie makes searching for a solution difficult for me. I’m using the Simplify theme and running CM Tooltip Glossary and 3D Slider Slicebox plugins.

Thanx for the help!

  • Elliott Bristow
    • The Bug Hunter

    Hi @judson_singer,

    Wither your theme or one of your plugins is adding a link to jquery when it doesn’t need to. we need to establish if it is you theme or, if it’s a plugin, which plugin.

    Steps to try:

    Temporarily switch your theme to a basic theme such as Twenty Twelve and see if that fixes the issue. If it does, the theme is to blame and we can edit the theme to remove the conflict.

    If the theme is not to blame, disable your plugins one-by-one and test until the error disappears. When it disappears, the last plugin you disabled is the culprit. Re-enable the OTHER plugins one-by one testing to make sure the issue doesn’t come back. Then with the culprit identified we can play around to see why it is loading a jQuery library when it doesn’t need to.

    Give that a go and let us know how you get on.

  • judson_singer
    • WPMU DEV Initiate

    I solved the problem by creating shortcode for a naughty plugin that had to have the template modified in order to work correctly. . I got help creating the shortcode. At first, I thought it may have been the Theme’s code. Using a different Theme helped by virtue of not loading the naughty plugin.

  • judson_singer
    • WPMU DEV Initiate

    Elliot, what is it about WordPress that permits Soooo many opportunities for plugins, themes, WordPress, scripts to bang up against each other? If your Mac code being introduced into their environment doesn’t pass rigorous standards, you won’t be allowed onto the playground for the good of the whole community.

  • Elliott Bristow
    • The Bug Hunter

    Sadly WordPress have no such approval system. Anyone can code and release their own plugins and themes. A lot of plugins are created by pre-teens and inexperienced developers who think they are helping the world with their own brand of “genius”… but sadly they just make the marketplace more of a minefield for legitimate developers like ourselves!

    Apple counter this with their approval system, but sadly that can throw things the other way, preventing small-businesses and startups from ever making it onto the appstore because they don’t have the funds to submit their app for approval!

    Rest assured, we do everything we can to keep our plugins and themes in line with standard coding methods so as not to cause any conflicts… but we can’t possibly take account of all the cases where others don’t! :slight_frown:

  • judson_singer
    • WPMU DEV Initiate

    Thanks Elliot. Since this is the case then my heartfelt suggestion is that plugins like your company’s Pay Per View not be released with extremely weak documentation that sends users scrambling, inflated claims about its functionality, and any related written material that hasn’t been checked for spelling, grammar, and accuracy. It makes WPMU DEV look amateurish and less than substantial as a company. This plugin was my first and only exposure to your company and I pledged to myself that it would be the last.

  • Elliott Bristow
    • The Bug Hunter

    I’m sorry that this is how you feel. We are in the process of reviewing all the documentation for our plugins, and many of them are receiving an update.

    We are always looking for ways to improve our service and we do need constructive feedback that helps identify our weak spots, that’s one of the reasons our support system is a public forum. We cannot hide behind the veiled protection offered by our email service. Everything is out in the open, which forces us to be on the top of our game.

    I hope that perhaps you might give us the opportunity to redeem ourselves in your eyes, if not now then at some point in the future once we have had a chance to iron out any issues we currently have with our plugins or their documentation.