WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use jquery-ui spinner in my plugin. I had googled it, but not found any referrence that can help me out. It is also not written in the docs http://codex.wordpress.org/Function_Reference/wp_enqueue_script. Nor also only the word spinner. Is the current version of wordpress (3.8.1) include jquery ui spinner in its library? If so, how to use it on a plugin?

Best Regards :)

share|improve this question

Just found it here http://codex.wordpress.org/Function_Reference/wp_register_script

Here is an example how to load it on a plugin:

function load_jquey_spinner() {
wp_enqueue_script( 'jquery-ui-spinner' );


add_action('wp_enqueue_scripts', 'load_jquey_spinner');
share|improve this answer
make sure, you also load jquery and jquery-ui-core – Francisco Corrales Morales Feb 5 '15 at 16:57
@FranciscoCorralesMorales - Typically when using core scripts there is no need to declare dependencies, as the scripts are pre-registered with them out of the box; the pre-registered script jquery-ui-spinner already has jquery-ui-core as a dependency, which in turn has jquery. The main idea of dependencies is for when you register/enqueue custom scripts. – David Gard May 5 '15 at 9:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.