Support » Plugin: Testimonials Widget » Testimonials tag format

  • Resolved hockey9999


    I want to completely change the HTML structure of the testimonials to…

    <div class=”testi-wrapper”>
    <div class=”testi-container”>
    <div class=”testi-text”>

    <p>stuff here</p>

    <div class=”clear”></div>
    <div class=”testi-baloon”></div>
    <div class=”testi-image”>
    <img src=”” alt=””>
    <div class=”testi-name”>Person
    <span class=”company-name”>The Company Name</span></div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Cannon


    It’s possible, but you’ll still have an outermost div.testimonialswidget_testimonials wrapper. Read FAQ 48.

    Could you give me any more information on this? I’ve been trying to find where to use the filter code, but I don’t think I am doing it right and the instructions are not novice friendly. I’ve also had someone who knows php coding look at it and said he can’t do it. Can you please help me out, I would really appreciate it?

    Plugin Author Michael Cannon


    I’ve added to FAQ 48, “In your theme’s functions.php file, place code similar to the following for the configuration you need.”.

    Basically though, you if you copy and paste the original get_testimonials_html method as my_get_testimonials_html, then create your filter for that like add_filter( 'testimonials_widget_testimonial_html', 'my_get_testimonials_html', 10, 5 );, and lastly revise my_get_testimonials_html to create the HTML structure you want.

    For paid support, please contact me at

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Testimonials tag format’ is closed to new replies.