Random Testimonial Shortcode Reference

The [random_testimonial] shortcode displays one or more of your testimonials, selected at random for each visitor.

Use the attributes below to control which testimonials are selected and how they are displayed. All attributes are optional.

[random_testimonial
    'testimonials_link':  '', // URL of the "View More Testimonials" link. Set on the options panel
    'count':  1, // How many testimonials to output    
    'show_title':  0, // Output the title of the testimonial. (1 = yes, 0 = no)
    'use_excerpt':  false, // if true, use the excerpt instead of the full testimonial
    'category':  '', // limit the random selection to this category. Expects a category slug, e.g., 'my-category'
    'show_thumbs':  true, // If true, output the Featured Image
    'show_rating':  'stars', // how to display the rating (either as stars, or as text before or after the testimonial). Options: 'stars', 'before', 'after'.
    'theme': 'default_style', // the theme to use to display this testimonial
    'show_date':  true, // if true, output the date of the testimonial. Set to false to hide the date.
    'show_other':  true, // if true, output the "Product / Location / Other" field. Set to false to hide.
    'width':  false, // enforce a maximum width. Expects a pixel value, as an integer (e.g., '300' for 300px)
    'hide_view_more':  0, // Output the "View More Testimonials" link, which takes the user to the full testimonials page. Set to 1 to hide the link, 0 to show it.
    'output_schema_markup':  true // Whether to output hidden schema.org markup for search engines like Google to parse. Good for SEO. Set to false to disable.
]