Title: Problem register jquery. Plugin doesn&#039;t work.
Last modified: August 20, 2016

---

# Problem register jquery. Plugin doesn't work.

 *  Resolved [player.c64](https://wordpress.org/support/users/playerc64/)
 * (@playerc64)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-register-jquery-plugin-doesnt-work/)
 * Thanks for this great plugin.
    Unfortunately is not compatible with my template.
   The problem is in my head section in this line `wp_deregister_script('jquery');`
 * If I delete it most plugin stop work, slideshow working perfect then.
    I was 
   trying register jquery to slideshows.php
 *     ```
       function SlideshowPluginMain() {
           wp_deregister_script( 'jquery' );
           wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js');
           wp_enqueue_script( 'jquery' );
       }    
   
       add_action('wp_enqueue_scripts', 'SlideshowPluginMain');
       ```
   
 * Plugin working after that but most plugins don’t.
    How to register properly JQuery
   in slideshow plugin ?
 * [http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/](http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/)

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

 *  Thread Starter [player.c64](https://wordpress.org/support/users/playerc64/)
 * (@playerc64)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-register-jquery-plugin-doesnt-work/#post-3146507)
 * I resolved it myself.
    Maybe for somebody will be useful
 * I Added to SlideshowPlugin.php
    `wp_register_script('jquery', 'http://ajax.googleapis.
   com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js');`
 * In header.php in template directory
    after `<?php wp_deregister_script('jquery');?
   >` I added `<?php wp_enqueue_script( 'jquery' ); ?>`
 * Thanks again for this great plugin.
 *  Plugin Author [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * (@stefanboonstra)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-register-jquery-plugin-doesnt-work/#post-3146559)
 * Thanks for letting me know, I’ll have a look at in the next release.
 * I’m glad you were able to resolve it!

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

The topic ‘Problem register jquery. Plugin doesn't work.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slideshow-jquery-image-gallery_d3d2de.
   svg)
 * [Slideshow](https://wordpress.org/plugins/slideshow-jquery-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slideshow-jquery-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slideshow-jquery-image-gallery/reviews/)

## Tags

 * [jquery problem](https://wordpress.org/support/topic-tag/jquery-problem/)

 * 2 replies
 * 2 participants
 * Last reply from: [Stefan Boonstra](https://wordpress.org/support/users/stefanboonstra/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/problem-register-jquery-plugin-doesnt-work/#post-3146559)
 * Status: resolved