WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Testimonials tag format (4 posts)

  1. hockey9999
    Member
    Posted 1 year 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>
    <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>

    http://wordpress.org/extend/plugins/testimonials-widget/

  2. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. hockey9999
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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

About this Topic