PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

JQuery Include

  1. idealists
    Member

    It seems that having gravity Forms enabled, adds a script include for jQuery,

    Is it possible to turn this off, as I have jquery included elsewhere?

    I looked under options and didn't find such an option to not include jQuery.

    Thanks

    Posted 14 years ago on Wednesday July 7, 2010 | Permalink
  2. There's not an option to turn off the jQuery reference,

    Gravity Forms uses the wp_enqueue_script function to check if you've already loaded jQuery in your theme. If you've included jQuery in your theme this way you shouldn't see a second reference to the script.

    If you're including the jQuery library manually in your theme, GF has no way to know if it's loaded so it enqueues the script. Also, other plugins could be manually inserting the call to the library so that might be the source of the duplicate.

    http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    Posted 14 years ago on Wednesday July 7, 2010 | Permalink