Add mode setting and tooltips

This commit is contained in:
Brian Miyaji
2015-01-22 10:01:43 +11:00
parent cabc1bc90e
commit 1936387bd9
8 changed files with 156 additions and 101 deletions

View File

@@ -46,7 +46,7 @@ $common[ __( 'Position', 'sportspress' ) ] = implode( ', ', $position_names );
$data = array_merge( $metrics_before, $common, $metrics_after );
if ( 'teams' == get_option( 'sportspress_mode', 'teams' ) ) {
if ( 'team' == get_option( 'sportspress_mode', 'team' ) ) {
if ( $current_teams ):
$teams = array();
foreach ( $current_teams as $team ):