Contact Form 7
How to prevent jquery.js load with CF7 (4 posts)

  1. fredhacher
    Posted 5 years ago #

    I'm bulding a site that uses jquery 1.4 and I'm trying to use CF7. I noticed some jquery plugins stop working when CF7 is activated, because CF is adding jquery 1.3.2 in the html head.

    <script type='text/javascript' src='http://xxxxxx/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>

    I want to know if theres a way to prevent CF7 to load jquery.js.

  2. Takayuki Miyoshi
    Plugin Author

    Posted 5 years ago #

  3. fredhacher
    Posted 5 years ago #

    I saw that post and tried that. But I have others JS working in the contact page, and loading CF7 jquery.js only in the contact page doesnt solve the problem. I need to deactivate permanently the jquery.js?ver=1.3.2 and use the 1.4x version.

  4. Le Grain de Web
    Posted 4 years ago #


    The tips in the comment from the post isn't working by me ...
    (ie : add
    global $post;
    if (get_post_meta($post->ID, 'cf7', true) != 1) return;
    in the controller (by the way, the code wasn't completely exact in the comment ...))
    Any changes has been done toward this ?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic