Support » Plugin: GC Testimonials » Testimonials do not rotate?

  • Hi,

    Using latest version, I set cycle on, and have 4 testimonials loaded, all in the same category. When I load the sidebar widget, it always displays only the number of testimonials I request, it does not pull more, and no cycle happens??

    Any ideas what is causing that? When I View->Source, I see only the number of testimonials I say to show in the code, so, how will it cycle?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author devnz


    Hi Brett,

    Its hard to tell what might be causing this without being able to see the site myself. Can you send me an example at all?

    Hi, I’ve got the same issue with a site I’m working on for someone.

    I’m not a huge JQuery buff, but looking at the source code of the page genereated, it looks like things are loaded in the wrong order, and hence getting a JS error of jQuery not defined.

    relevant source code:

    <div class="sidebar">
            <h1>Testimonials</h1><div id="tcycle"><div class="testimonial-widget"><h5>Hate it.</h5><div class="content">Hate it...  </div><div class="clear"></div><div class="client"><span class="name">George</span><br/></div></div><div class="testimonial-widget"><h5>Useful</h5><div class="content">Useful.</div><div class="clear"></div><div class="client"><span class="name">Bob</span><br/></div></div><div class="testimonial-widget"><h5>Great</h5><div class="content">Great</div><div class="clear"></div><div class="client"><span class="name">Bob</span><br/></div></div></div><div class="clear"></div>      </div>
        <script type="text/javascript">jQuery(document).ready(function($) { $("#tcycle").cycle({ fx: "fade", speed: 1500, timeout: 8000, pause: 1}); });</script><link rel='stylesheet' id='gctwidgetstyles-css'  href='http://localhost/livingchoice/wp-content/plugins/gc-testimonials/assets/css/gctwidget.css?ver=1.0' type='text/css' media='all' />
    <script type='text/javascript' src='http://localhost/livingchoice/wp-includes/js/jquery/jquery.js?ver=1.7.2'></script>
    <script type='text/javascript' src='http://localhost/livingchoice/wp-content/plugins/gc-testimonials/assets/js/jquery.cycle.all.js?ver=3.4.2'></script>

    I presume this is due to WordPress just using array_pop() to run the actions added to wp_footer, rather than iterating through the array in order, so hopefully shouldn’t be a difficult fix to reorder how you’re adding the code to the footer call in the plugin?

    Thanks for the otherwise great plugin by the way! 🙂

    – Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Testimonials do not rotate?’ is closed to new replies.