Add short name setting to teams and automate display
This commit is contained in:
@@ -21,9 +21,9 @@ foreach ( $teams as $team ):
|
||||
// Add team name
|
||||
if ( $show_team_names ) {
|
||||
if ( $alt ) {
|
||||
$logo .= ' <strong class="sp-team-name">' . sp_get_team_name( $team, $abbreviate_teams ) . '</strong>';
|
||||
$logo .= ' <strong class="sp-team-name">' . sp_team_short_name( $team ) . '</strong>';
|
||||
} else {
|
||||
$logo = '<strong class="sp-team-name">' . sp_get_team_name( $team, $abbreviate_teams ) . '</strong> ' . $logo;
|
||||
$logo = '<strong class="sp-team-name">' . sp_team_short_name( $team ) . '</strong> ' . $logo;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user