WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. houseofstrauss
    Member
    Posted 6 months 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>
    
                                    </div>
    
        </div>
    </div>

    http://wordpress.org/plugins/testimonial-rotator/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 6 months 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.

    Hal

  3. houseofstrauss
    Member
    Posted 6 months ago #

    Thanks Hal, that's good enough for me!

Reply

You must log in to post.

About this Plugin

About this Topic