Forums

[Plugin: Contact Form 7] jQuery version conflict ... want to disable wordpress jQuery insertion (6 posts)

  1. jjprather
    Member
    Posted 5 months ago #

    I hope this is pretty simple. I understand that this plugin grabs the Wordpress installation's version of jQuery and throws it into the HEAD of the site.

    <script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.2.6'></script>

    I need to make the plugin not do this. I am using on my site jQuery UI which requires me to use the newest version of jQuery - 1.3.2.

    How can I stop the plugin from referencing this older version of jQuery? It's causing my UI effect to not work. I really like this plugin, and I don't want to use an alternative.

    Help would be greatly appreciated.

  2. takayukister
    Member
    Posted 5 months ago #

    http://ideasilo.wordpress.com/2009/05/31/contact-form-7-1-10/

    Set your WPCF7_LOAD_JS constant as false.

  3. jjprather
    Member
    Posted 5 months ago #

    Thanks for that answer. That, of course worked. I read that solution on your website previously but I did not try it because I did not want to lose the AJAX functionality of the plugin.

    Is there a way to only restrict the jQuery JS file (jquery.js?ver=1.2.6) from being placed into the <head>?

  4. otronix
    Member
    Posted 4 months ago #

    It worked for me. A little bit scary editing wp-config for the first time, but no problems. I included the line under $base = DB_NAME.

  5. ArtbyKat
    Member
    Posted 4 months ago #

    I had a similar problem with the script for a pop-up lightbox to show individual products in a shopping cart (wp e-commerce). I assumed it's using the same javascript. Changing the wp-config file worked. Thanks for that tip!!

  6. nipponese
    Member
    Posted 3 months ago #

    Thanks for this!

Reply

You must log in to post.

About this Topic