• Resolved hockey9999

    (@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>
    <div class=”clear”></div>
    </div>
    <div class=”testi-baloon”></div>
    <div class=”testi-image”>
    <img src=”” alt=””>
    </div>
    <div class=”testi-name”>Person
    <span class=”company-name”>The Company Name</span></div>
    </div>

    https://www.ads-software.com/extend/plugins/testimonials-widget/

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

    (@comprock)

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

    Thread Starter hockey9999

    (@hockey9999)

    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 Contributor Michael Cannon

    (@comprock)

    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 https://aihr.us/contact-aihrus/.

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