Bold highlighted team name in table

This commit is contained in:
Brian Miyaji
2014-10-16 13:50:48 +11:00
parent a81013f79f
commit cad627b28f

View File

@@ -117,10 +117,12 @@ foreach ( $data as $team_id => $row ):
$name_class = ''; $name_class = '';
$name = $before . $name . $after;
if ( $show_team_logo ): if ( $show_team_logo ):
if ( has_post_thumbnail( $team_id ) ): if ( has_post_thumbnail( $team_id ) ):
$logo = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon' ); $logo = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon' );
$name = '<span class="team-logo">' . $logo . '</span>' . $before . $name . $after; $name = '<span class="team-logo">' . $logo . '</span>' . $name;
$name_class .= ' has-logo'; $name_class .= ' has-logo';
endif; endif;
endif; endif;