Bold highlighted team name in table
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user