Support » Plugin: Social Proof (Testimonial) Slider » Pull (?) request

  • Resolved musician1989


    Hi, your plugin is really good and it’s been really helpful. However, since it is using Slick Carousel, it’s causing serious issues with other plugins using SlickJS as well, to solve this, all you have to do is edit two lines:

    class-social-proof-slider-public.php line 244:
    $thisWidgetJS .= ' $("#_socialproofslider-shortcode .social-proof-slider-wrap").not(".slick-initialized").slick({'."\n";

    social-proof-slider-display-widget line 352:
    $thisWidgetJS .= ' $("#' . $thisWidgetID . ' .social-proof-slider-wrap").not(".slick-initialized").slick({'."\n";

    Basically is adding .not(“.slick-initialized”) to prevent calling the init function of Slick several times, avoiding a bug that keeps other plugins to play well with yours.


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pull (?) request’ is closed to new replies.