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.

Gravity Form causes Java Script Conflict

  1. juli9774
    Member

    Since the new update of Gravity Forms I have problems with the Java Slider on my starting page.

    As you can see here the new artikels will not be displayed anymore
    http://www.zueri-see.info/

    on the test environment I deaktivatet gravity forms and it is working:
    http://wp1165078.wp266.webpack.hosteurope.de/wp4/

    Any ideas to solve this?

    Posted 13 years ago on Friday June 3, 2011 | Permalink
  2. Hi Juli9774,

    It looks like the issue is your theme is loading jQuery twice. This is usually a result of outputting scripts directly in your theme header instead of enqueueing the scripts. By enqueing the scripts, WP will ensure that each script is only loaded once and by setting the script dependencies (aka which scripts need which scripts to function properly) WP will also ensure that the scripts are output in the correct order.

    http://grab.by/ahdv - Note the two instances of jQuery, one highlighted and one near the top of the included scripts.

    For more information on enqueueing scripts, read here:

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Posted 13 years ago on Friday June 3, 2011 | Permalink