Add videos module option

This commit is contained in:
Brian Miyaji
2015-01-24 12:52:33 +11:00
parent 104cfcf99b
commit fabec5d9b3
7 changed files with 94 additions and 15 deletions

View File

@@ -33,7 +33,9 @@ add_action( 'get_the_generator_xhtml', 'sp_generator_tag', 10, 2 );
*/
add_action( 'sportspress_single_event_content', 'sportspress_output_event_logos', 0 );
add_action( 'sportspress_single_event_content', 'sportspress_output_event_results', 20 );
add_action( 'sportspress_single_event_content', 'sportspress_output_event_video', 10 );
if ( 'yes' == get_option( 'sportspress_load_videos_module', 'yes' ) ) {
add_action( 'sportspress_single_event_content', 'sportspress_output_event_video', 10 );
}
add_action( 'sportspress_single_event_content', 'sportspress_output_event_details', 30 );
add_action( 'sportspress_single_event_content', 'sportspress_output_event_venue', 40 );
add_action( 'sportspress_single_event_content', 'sportspress_output_event_performance', 50 );