Title: jQuery ui problem
Last modified: August 21, 2016

---

# jQuery ui problem

 *  [gb-plugins](https://wordpress.org/support/users/gb-plugins/)
 * (@gb-plugins)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/)
 * Hi,
    i’m working on my plugin ‘GB Gallery Slider’ and i encounter a problem with
   jquery ui effects, if i use: wp_enqueue_script( ‘jquery-ui-core’ ); wp_enqueue_script(‘
   jquery-effects-core’ );
 * the effect ‘explode’ (.hide(‘explode’,”,600); line:415) and other ui effects 
   are not working, but if i load ‘//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/
   jquery-ui.min.js’ all the effects are working.
 * please help me with this issue.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/#post-4348556)
 * I don’t really know, I’ve never used effects in WP, but from studying the [registered scripts](http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_Scripts_Included_and_Registered_by_WordPress)
   list, it appears you need to enqueue each effect you want to use, not just effects
   core. That does not explain why the external UI core causes everything to work.
 * I would also expect the dependencies of, say ‘jquery-effects-explode’, were resolved
   when it was registered. There should be no need to additionally enqueue UI core.
   For that matter, you shouldn’t need to enqueue ‘jquery-effects-explode’. Specify
   it as a dependency when you enqueue your own script and all the necessary meta
   links should be output.
 * I would suggest enqueuing your own script with the proper dependencies and not
   enqueue anything else. You can examine the source HTML of the page to satisfy
   yourself that all the necessary files are all linked in. I’m suspicious that 
   redundant enqueuing is somehow confusing the issue.
 *  Thread Starter [gb-plugins](https://wordpress.org/support/users/gb-plugins/)
 * (@gb-plugins)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/#post-4348562)
 * thank’s a lot for answering my question. i will be shore to try your suggestions.
   
   let you know how it turns out.
 *  Thread Starter [gb-plugins](https://wordpress.org/support/users/gb-plugins/)
 * (@gb-plugins)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/#post-4348612)
 * Hi Bcworkz,
    Jest want to let you know that your suggestion work’s and it has
   been integrated to the plugin.
 * so cheers for you and again thank **you**
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/#post-4348625)
 * Awesome! I wasn’t totally sure and couldn’t imagine any easy test I could do 
   to verify, so I just put out the suggestion anyway. Thanks for returning with
   the results.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘jQuery ui problem’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 4 replies
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/jquery-ui-problem/#post-4348625)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
