Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function qc_change_testimonial_element_order( $tpl ) {
$tpl = str_replace( '<blockquote class="testimonials-text" itemprop="reviewBody">%%TEXT%%</blockquote>%%AVATAR%% %%AUTHOR%%</div>', '%%AVATAR%%<blockquote class="testimonials-text" itemprop="reviewBody">%%TEXT%%</blockquote>%%AUTHOR%%</div>', $tpl );
return $tpl;
}
add_filter( 'woothemes_testimonials_item_template', 'qc_change_testimonial_element_order' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.