Last active
August 29, 2015 14:04
-
-
Save halgatewood/656b9a27ba229ee61aa9 to your computer and use it in GitHub Desktop.
Changing the fa-star to whatever else you need in the Testimonial Rotator
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
function tr_stars( $icon, $template_name, $id ) | |
{ | |
if( $template_name == "boom" ) return "fa-bomb"; | |
if( $template_name == "dogs" ) return "fa-paw"; | |
if( $id == 115 ) return "fa-asterisk"; | |
return $icon; | |
} | |
add_filter( 'testimonial_rotator_star' , 'tr_stars', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment