WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. fredhacher
    Member
    Posted 3 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
    Member
    Plugin Author

    Posted 3 years ago #

  3. fredhacher
    Member
    Posted 3 years ago #

    Thanks.
    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
    Member
    Posted 3 years ago #

    Hello,

    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 ?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic