So this is still happening. With the new version (1.5.3) the line in question of course has moved:
woothemes-testimonials-template.php
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 );
to:
$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.
ie:
.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