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.

Scripts/Css

  1. I guess the plugin loads a few scripts and css files, but does it do that on every single page of the site or only on pages that use the plugin?

    Posted 13 years ago on Wednesday May 19, 2010 | Permalink
  2. HI patung, I am a happy Gravity Forms user and maybe I can point you in the right direction.

    Gravity Forms only enqueues the scripts and CSS on pages where a form is present, not every page.

    If Gravity Forms finds the shortcode in a page or post, it shows the form, and also enqueues the CSS and JavaScript. If you are using the form in something like a sidebar widget, you need to enqueue the scripts and CSS yourself.

    Here's an explanation of how to do that:
    http://forum.gravityhelp.com/topic/form-in-the-sidebar-of-wordpress#post-5415

    Are you have a specific problem you need to resolve? If so, please post it and I'm sure the Gravity Forms guys will address it promptly.

    If the scripts are not being enqueued, it's possible your theme does not properly call <? php wp_footer(); ?> in the footer.php.

    Posted 13 years ago on Wednesday May 19, 2010 | Permalink
  3. Yes, exactly. What @illinoisharly said :)

    Posted 13 years ago on Wednesday May 19, 2010 | Permalink