Step-by-step guide
If you want to change the layout of the testimonials, then you can use the testimonials_widget_testimonial_html
filter. This filter follows the get_testimonials_html
method which is how the testimonial HTML is normally generated. The testimonials_widget_testimonial_html
filter works for widgets and lists.
In your theme’s functions.php
file, place code similar to the following for the configuration you need.
Examples
Related articles