Bring back career totals table

This commit is contained in:
Brian Miyaji
2016-04-27 21:02:26 +10:00
parent 3befe925fc
commit 07a16ba0be
3 changed files with 21 additions and 1 deletions

View File

@@ -55,10 +55,16 @@ if ( is_array( $leagues ) ):
sp_get_template( 'player-statistics-league.php', array(
'data' => $player->data( $league->term_id, false, $section_id ),
'league' => $league,
'caption' => $caption,
'scrollable' => $scrollable,
) );
endforeach;
sp_get_template( 'player-statistics-league.php', array(
'data' => $player->data( 0, false, $section_id ),
'caption' => __( 'Career Total', 'sportspress' ),
'scrollable' => $scrollable,
'hide_teams' => true,
) );
}
endif;