Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello rtilog,

    Perhaps, your theme has the script slider window and the plugin has the lightbox script. That’s why two scripts work at the same time.
    You should turd off one of them.
    You should find this piece of code in the plugin file gallery-plugin.php:

    if ( ! function_exists ( ‘gllr_wp_head’ ) ) {
    function gllr_wp_head() {
    wp_enqueue_style( ‘gllrStylesheet’, plugins_url(
    ‘css/stylesheet.css’, __FILE__ ) );
    wp_enqueue_style( ‘gllrFancyboxStylesheet’, plugins_url(
    ‘fancybox/jquery.fancybox-1.3.4.css’, __FILE__ ) );
    wp_enqueue_script( ‘jquery’ );
    wp_enqueue_script( ‘gllrFancyboxMousewheelJs’, plugins_url(
    ‘fancybox/jquery.mousewheel-3.0.4.pack.js’, __FILE__ ), array(
    ‘jquery’ ) );
    wp_enqueue_script( ‘gllrFancyboxJs’, plugins_url(
    ‘fancybox/jquery.fancybox-1.3.4.pack.js’, __FILE__ ), array( ‘jquery’
    ) );
    }
    }

    and change it to:

    if ( ! function_exists ( ‘gllr_wp_head’ ) ) {
    function gllr_wp_head() {
    wp_enqueue_style( ‘gllrStylesheet’, plugins_url(
    ‘css/stylesheet.css’, __FILE__ ) );
    // wp_enqueue_style( ‘gllrFancyboxStylesheet’, plugins_url(
    ‘fancybox/jquery.fancybox-1.3.4.css’, __FILE__ ) );
    // wp_enqueue_script( ‘jquery’ );
    // wp_enqueue_script( ‘gllrFancyboxMousewheelJs’, plugins_url(
    ‘fancybox/jquery.mousewheel-3.0.4.pack.js’, __FILE__ ), array(
    ‘jquery’ ) );
    // wp_enqueue_script( ‘gllrFancyboxJs’, plugins_url(
    ‘fancybox/jquery.fancybox-1.3.4.pack.js’, __FILE__ ), array( ‘jquery’
    ) );

    Kind regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Displays Both Image Link and Slider’ is closed to new replies.