Testimonials Widget
[resolved] Testimonials tag format (4 posts)

  1. hockey9999
    Posted 3 years ago #

    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>


  2. Michael Cannon
    Plugin Author

    Posted 3 years ago #

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

  3. hockey9999
    Posted 3 years ago #

    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?

  4. Michael Cannon
    Plugin Author

    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonials Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic