Enable individual sport mode

This commit is contained in:
Brian Miyaji
2014-06-19 15:37:16 +10:00
parent cdf74285d5
commit 33069f395d
12 changed files with 217 additions and 124 deletions

View File

@@ -133,7 +133,7 @@ if ( ! function_exists( 'sportspress_output_event_performance' ) ) {
* @return void
*/
function sportspress_output_event_performance() {
sp_get_template( 'event-performance.php' );
if ( SP()->mode == 'team' ) sp_get_template( 'event-performance.php' );
}
}