Support » Plugin: Slideshow » Problem register jquery. Plugin doesn't work.

  • Resolved player.c64


    Thanks for this great plugin.
    Unfortunately is not compatible with my template.
    The problem is in my head section in this line

    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', '');
        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 ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I resolved it myself.
    Maybe for somebody will be useful

    I Added to SlideshowPlugin.php
    wp_register_script('jquery', '');

    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


    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.