Created
November 1, 2015 21:27
-
-
Save kellenmace/47742af303b4329fadf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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