Changing Stars to Something Else

Beginning in version 2.0.5 you can now change the stars of the rotator to something else. You just need to add a small snippit of code to your functions.php file in your theme. Available icons are found here.

function tr_stars( $icon, $template_name, $id )
{
	return "fa-paw";
}
add_filter( 'testimonial_rotator_star' , 'tr_stars', 10, 3 );

fa-paws

There are a few parameters that get passed to allow you to change the star on a per template or per rotator id basis.

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 );