Changing the number of testimonials per rotator

Version 2+

There are now a bunch of new settings when creating a rotator. One of them is a limit feature.



If you would like to limit the amount on a per shortcode basis you can just add an attribute:¬†limit=”5″ where you specify the number of testimonials you want.

Version 1+

The rotator is defaulted to 5 with the ability to change that number by adding the following function to your functions.php file.

function testimonial_rotator_number_of_posts( $args ) {
    $args['number_of_posts'] = 30;
    return $args;
add_filter( 'testimonial_rotator_widget_testimonial_args', 'testimonial_rotator_number_of_posts' );