diff --git a/controller/classes/Subtemplate.php b/controller/classes/Subtemplate.php index 5937784..1db794c 100644 --- a/controller/classes/Subtemplate.php +++ b/controller/classes/Subtemplate.php @@ -1184,8 +1184,10 @@ class Subtemplate { public function testimonials($subtemplateTitle) { $args = array( - 'post_type' => 'testimonial', - 'order' => 'ASC' + 'post_type' => 'testimonial', + 'order' => 'ASC', + 'orderby' => 'rand', + 'posts_per_page' => 3 ); $testimonials = get_posts($args);