• Resolved James

    (@james-saint)


    Building a site using Twitter Bootstrap, https://www.jamessaint.com I have Contact Form 7 Plugin running also. Further to trying to install a Twitter API v1.1 app it seems I am loading too many Jquery libraries.. I have been through in a process of elimination but i can’t find what’s causing the conflict.

    can any one help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • What exactly is the issue you are having?

    Thread Starter James

    (@james-saint)

    bootstrap front end menu scroll to sections are not functioning, same with the tabs – contact form 7 is working fine, and the Twitter APi seems to be working, but all front end bootstrap jquery features are not working

    any ideas gratefully recieved

    Using Chrome Dev Tools the console is showing some errors. It’s showing this also GET https://jamessaint.com/wp-includes/js/jquery/jquery-1.10.2.min.map 404 (Not Found) should that be ending in .js?

    Thread Starter James

    (@james-saint)

    Contact form 7 was trying to load that .map file – within the <?php wp_footer(); ?> tag – I have deactivated the plugin and the bootstrap JavaScript features have returned, but still weird returns in the console…. and no contact form 7 now.

    any assistance to identify the cause of this .map file would be great

    I’m not seeing any errors in the console now.

    Thread Starter James

    (@james-saint)

    Got it! jQuery multiple versions being loaded (contact form 7 was loading an outdated one). To de-register jQuery from Contact Form 7 (without editing core files), I added the following to functions.php

    // De-register jQuery from Contact Form 7
    
    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    function my_deregister_javascript() {
        wp_deregister_script( 'contact-form-7' );
    }

    Hope this works in the long term

    Thanks for your time

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Too many jQuery files trying to load’ is closed to new replies.