Add events to team pages

This commit is contained in:
Brian Miyaji
2016-04-08 15:26:59 +10:00
parent 36bc9bc622
commit 35ed9962d4
12 changed files with 227 additions and 38 deletions

View File

@@ -303,6 +303,19 @@ if ( ! function_exists( 'sportspress_output_team_lists' ) ) {
sp_get_template( 'team-lists.php' );
}
}
if ( ! function_exists( 'sportspress_output_team_events' ) ) {
/**
* Output the team events.
*
* @access public
* @subpackage Team/Events
* @return void
*/
function sportspress_output_team_events() {
sp_get_template( 'team-events.php' );
}
}
/** Single League Table ********************************************************/