• Hello, I have installed the Cyclone Slider 2 plugin in my site in order to have a slider display. I’ve noticed that the slides will not cycle. Right now I have 2 slides in the slider and only one is showing. You can see what I’m talking about here: https://alexistmyers.com/test/

    In troubleshooting, I have deactivated all of my plugins and reactivated them one by one to determine which one could be causing the problem. I have found the GC Testimonials is the problem.

    As much as I love GC Testimonials and the results it’s given me, it’s caused me plenty of problems as well. I’m trying to stick with it because it’s the only one that will give me the results I’m looking for, but I’m hoping I can find some type of code that will make it less problematic!

    Is there any code that will allow me to continue to use GC testimonials, and still have the Cyclone Slider 2 plugin work properly?

    And just for reference, I have used Cyclone Slider 2 in a client’s site and it worked perfectly. You can see it in action here: https://www.24hrbookkeeper.com/

    Also, I previously had to put in code just to make the GC Testimonials plugin work properly after upgrading it. You can see the problem I was having and the code I used to make it work here: https://www.ads-software.com/support/topic/urgent-after-upgrade-testimonials-in-widget-not-showing?replies=15

    Any help will be greatly appreciated! I know it’s the holidays, so response may be slow, but I’m hoping to hear something by the end of the week if possible. Thanks.

    https://www.ads-software.com/plugins/gc-testimonials/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The problem is that GCT uses an earlier version of the same jQuery plugin as your slider. The slider loads the newer version first and GCT overwrites it later. That’s why the GCT cycle works but not the slider. To demonstrate, turn off GCT cycle in the widget and the slider should work.

    You can fix this by not loading the earlier version:

    // add_action( 'wp_footer', 'gct_widget_script' );

    and changing the widget parameters to work with the new version:

    function gct_widget_code() {
      // $output = '<script type="text/javascript">jQuery(document).ready(function($) { $("#tcycle").cycle({ fx: "fade", speed: 1500, timeout: 8000, pause: 1}); });</script>';
      $output = '<script type="text/javascript">jQuery(document).ready(function($) { $("#tcycle").cycle({ fx: "fade", speed: 1500, timeout: 8000, slides: "div.testimonial-widget" });</script>';
      echo $output;
    }

    Thread Starter Alexis403

    (@alexis403)

    Ok, so the directions you gave me are partly working, but maybe I did it wrong? I need to be clear….

    Were you saying for me to delete the “add action” code?

    And then to replace the previous “function gct_widget_code” with the one you put here?

    That is what I did. I deleted the first code you mentioned above and then I replaced the existing function gct_widget_code with the second code you gave above.

    It made it so that the slider is now working (yay!) https://alexistmyers.com/test/, but the GCT widget now will not cycle. I had to take the number of testimonials showing down to 1 so that they wouldn’t all be listed in a vertical line that passed below my footer. So that is just a temporary fix of course. Any more code you can give me to make the testimonials cycle correctly?

    And by the way, when you said to turn off the cycle in the testimonial widget, that did NOT make the slider work. But adding in that new function gct_widget_code did make the slider work, but again, the GCT testimonial cycle is not working now even when I have cycle selected in the widget.

    Hopefully I’m explaining this all correctly. And please be very clear in your instructions (i.e. “delete the following code” or “replace this code with that”), just so I know exactly what to do.

    Thanks for your help so far!

    Sorry, I was rushing to post it. Bad nerd!

    You did great. I suffered a copy-n-paste error. Here’s the corrected $output line:

    jQuery(document).ready(function($) { $("#tcycle").cycle({ fx: "fade", speed: 1500, timeout: 8000, slides: "div.testimonial-widget" }); });

    Thread Starter Alexis403

    (@alexis403)

    That worked perfectly!! Thanks for all of your help, and happy holidays!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GC Testimonials causes another plugin to not work’ is closed to new replies.