Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halgatewood/656b9a27ba229ee61aa9 to your computer and use it in GitHub Desktop.
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
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