Here is my testimonials.php file below. I would like to change the speed of the rotation of testimonials, however I am unsure what code to write in. Your assistance is appreciated!
<?php
/**
* Testimonials
*
*/
?>
<div class="testimonials sixteen columns alpha omega marT20 marB40 padT40 padB20">
<?php
$args = array(
'post_type' => 'testimonial',
'order' => 'DSC',
'posts_per_page' => 100
);
$query = new WP_Query($args); ?>
<ul class="testimonial-content">
<?php while ( $query->have_posts() ) : $query->the_post(); ?>
<li>
<h5 class="marB8"><?php the_content(); ?></h5>
<h5 class="marB0"><strong><?php the_title(); ?></strong></h5>
</li>
<?php endwhile; wp_reset_query(); ?>
</ul>
</div>
Judging by the class name,
testimonial-content
, you're probably using the WordPress testimonial widget. Check out the last setting here:If you need to change this programmatically, then track down where it's used in the code, somewhere in
/wp-content/plugins/testimonials-widget/
.