Title: JQuery plugins
Last modified: August 20, 2016

---

# JQuery plugins

 *  Resolved [eperinelli](https://wordpress.org/support/users/eperinelli/)
 * (@eperinelli)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/jquery-plugins-2/)
 * i everybody
 * this plugin works perfectly for me
 * being a noob with JQuery, i would like to ask: what’s the best practice to have
   WP load also a JQuery Plugin?
 * thanks in advance
 * [http://wordpress.org/extend/plugins/use-google-libraries/](http://wordpress.org/extend/plugins/use-google-libraries/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jason Penney](https://wordpress.org/support/users/jczorkmid/)
 * (@jczorkmid)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/jquery-plugins-2/#post-3219933)
 * It’s the same with or without UGL installed.
 * You’d use `wp_register_script` and `wp_enqueue_script` and register the script
   with a dependency on `jquery`.
 *     ```
       wp_register_script('jquery.plugin-name',
                          get_template_directory_uri() . '/js/jquery.plugin-name.js',
       		   array('jquery'),
                          $jquery_plugin_version,
                          $in_footer);
       ```
   
 * Be sure to read the docs so you don’t use those functions in the wrong places(
   they should only be called from the `wp_enqueue_scripts`, `admin_enqueue_scripts`,
   or `login_enqueue_scripts` actions):
 * [https://codex.wordpress.org/Function_Reference/wp_register_script](https://codex.wordpress.org/Function_Reference/wp_register_script)
   
   [https://codex.wordpress.org/Function_Reference/wp_enqueue_script](https://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 * Be sure to test with and without UGL enabled.

Viewing 1 replies (of 1 total)

The topic ‘JQuery plugins’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/use-google-libraries.svg)
 * [Use Google Libraries](https://wordpress.org/plugins/use-google-libraries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/use-google-libraries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/use-google-libraries/)
 * [Active Topics](https://wordpress.org/support/plugin/use-google-libraries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/use-google-libraries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/use-google-libraries/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jason Penney](https://wordpress.org/support/users/jczorkmid/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/jquery-plugins-2/#post-3219933)
 * Status: resolved