Testimonial list or widget with options, but for those options not specifically set are then defined by defaults from Testimonials > Settings.
// The following argument configuration selects 5 testimonials of the "product" category, having the "widget" tag.
// $args is an optional array of desired shortcode options
$args = array(
'category' => 'product',
'tags' => 'widget',
'limit' => 5,
// Displays the testimonials as a list into your theme directly
echo testimonials( $args );
// The following argument configuration selects testimonials of the "review" tag and sets a slower rotation speed for the display widget
$args = array(
'tags' => 'review',
'refresh_interval' => 15,
// Displays the testimonials as a rotating widget into your theme directly
echo testimonials_slider( $args );
// $widget_number is an optional, arbitrarily number (probably safe between 1,000 and 9,999) that helps create a uniquely identifiable testimonials widget display instance.
$widget_number = 1234;
// Displays the testimonials as a rotating widget into your theme directly with specific class .testimonials-widget-testimonials1234
echo testimonials_slider( $args, $widget_number );
In case of Fatal error: Call to undefined function testimonials_slider() in…, please try including testimonials-widget.php like the following.
Listing all options here is not feasible. However, here's links to the pages that do contain such information. Further, once you install testimonials there's an example page at WordPress Admin > Testimonials > e.g. Shortcodes listing various configurations. Lastly, check out the live demo page.