Testimonials by WooThemes
Issue with update (8 posts)

  1. Uprootednut
    Posted 2 years ago #

    Since the update the testimials widget has been displaying empty quotation marks above and below my actual testimonials.


    Any advice?


  2. James Koster
    Plugin Author

    Posted 2 years ago #

    I'm not seeing any empty quotation marks. Did you resolve this?

  3. Uprootednut
    Posted 2 years ago #

    I am using an older version of the plugin, I have updated to the new version on this website http://jarvisjohnson.s.strategiesuk.net/.


  4. ScytheZ
    Posted 2 years ago #

    Same problem here as http://jarvisjohnson.s.strategiesuk.net/


    there are paragraphs added before and after the real quote .. which get styled as quotes .. so we get 2 blank quotes bubbles before and after the real one...

    The updated version of the plugin on 3.8.3 of WordPress.

  5. dodg
    Posted 2 years ago #

    Change line 145 from:
    $content = apply_filters( 'woothemes_testimonials_content', apply_filters( 'the_content', get_the_content() ), $post );


    $content = apply_filters( 'woothemes_testimonials_content', get_the_content(), $post );

    i.e. basically remove the apply_filters from the_content. There is need of this sometimes, but this will work as a quick fix for you.

  6. James Koster
    Plugin Author

    Posted 2 years ago #

    You should probably use the woothemes_testimonials_content filter to do that :-)

    I'd be interested to see why this happened though, I suspect it was something to do with the actual testimonial content. I can't investigate that without a log in though.

  7. Uprootednut
    Posted 2 years ago #

    Thanks for the replies, dodg's method seems to have fixed the issue.

  8. dodg
    Posted 2 years ago #

    So this is still happening. With the new version (1.5.3) the line in question of course has moved:

    Line 149
    Replace from:
    $content = apply_filters( 'woothemes_testimonials_content', apply_filters( 'the_content', get_the_content( __( 'Read full testimonial...', 'our-team-by-woothemes' ) ) ), $post );

    $content = apply_filters( 'woothemes_testimonials_content', get_the_content( __( 'Read full testimonial...', 'our-team-by-woothemes' ) ), $post );

    Essentially I am removing the the_content filter, which of course isn't clever.

    I tried using the woothemes_testimonials_content but couldn't get what I wanted.

    I've found the issue though, and its not to do with the vanilla plugin. I had this code in my functions:
    function limestreet_woothemes_testimonials_item_template( $tpl, $args ) {
    if ( 'individual' == $args[ 'category' ] ) {
    $tpl = '

    $tpl .= '<p>%%TEXT%%</p>';
    $tpl .= '<cite class="individual-testimonial-author">%%AVATAR%% %%AUTHOR%%</cite>';
    $tpl .= '
    } else {
    $tpl = '<div class="company-slider-item">';
    $tpl .= '%%AVATAR%%';
    $tpl .= '</div>';

    return $tpl;
    add_filter( 'woothemes_testimonials_item_template', 'limestreet_woothemes_testimonials_item_template', 10, 2 );

    Basically, already effecting the inner text of the testimonial - adding some more <p>'s.

    Youve got this style:
    .individual-testimonial p { ... }
    to denote how I testimonial should look. Why not give this a class to stop people adding extra paragraph tags that effect the testimonial.

    .individual-testimonial p.testimonial_content

    Then obviously moving that class into the markup as well. Would resolve all conflicts like this.

    Hopefully this helps clear up the problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonials by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic