Testimonial Rotator
[resolved] How to make the latest testimonial show first in rotator (3 posts)

  1. houseofstrauss
    Posted 2 years ago #

    I'm using the following code in a widget to make the testimonials rotate, except the latest ones are showing at the end. How can I make the latest show at the beginning of the cycle please?

    My widget code snippet

    <h3 class="widget-title">Latest Testimonials</h3>
    <div class="testimonial_rotator_widget_wrap">
        <div id="testimonial_rotator_widget_sidebar-1" class="testimonial_rotator_widget">
            <div class="slide">
                               <p><br />[testimonial_rotator id=testimonials]<a href="http://mysite.com/testimonials/"><strong>Read all Testimonials here</strong></a></p>


  2. Hal Gatewood
    Plugin Author

    Posted 2 years ago #

    At this time the value is hard coded. I hope to have a new version coming out soon that will make this a variable. If you want to hardcode the change it can be found on line 407 of testimonial-rotator.php. Change the ASC to DESC on the 'order' parameter.


  3. houseofstrauss
    Posted 2 years ago #

    Thanks Hal, that's good enough for me!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonial Rotator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic