From 93da072a53493af846319e3ff2920b0115b51ada Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Tue, 7 Apr 2015 14:26:53 +1000 Subject: [PATCH] Automatically load videos and countdowns --- includes/class-sp-modules.php | 8 -------- modules/sportspress-countdowns.php | 4 +--- modules/sportspress-event-videos.php | 4 +--- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/includes/class-sp-modules.php b/includes/class-sp-modules.php index ba5eb32c..fd72071d 100644 --- a/includes/class-sp-modules.php +++ b/includes/class-sp-modules.php @@ -28,14 +28,6 @@ class SP_Modules { 'label' => __( 'Calendars', 'sportspress' ), 'icon' => 'sp-icon-calendar', ), - 'event_videos' => array( - 'label' => __( 'Videos', 'sportspress' ), - 'icon' => 'dashicons dashicons-video-alt', - ), - 'countdowns' => array( - 'label' => __( 'Countdowns', 'sportspress' ), - 'icon' => 'sp-icon-clock', - ), 'tournaments' => array( 'label' => __( 'Tournaments', 'sportspress' ), 'class' => 'SportsPress_Tournaments', diff --git a/modules/sportspress-countdowns.php b/modules/sportspress-countdowns.php index 18a3aabb..a86cdc70 100644 --- a/modules/sportspress-countdowns.php +++ b/modules/sportspress-countdowns.php @@ -100,6 +100,4 @@ class SportsPress_Countdowns { endif; -if ( get_option( 'sportspress_load_countdowns_module', 'yes' ) == 'yes' ) { - new SportsPress_Countdowns(); -} +new SportsPress_Countdowns(); diff --git a/modules/sportspress-event-videos.php b/modules/sportspress-event-videos.php index 7a2f53ed..0c291782 100644 --- a/modules/sportspress-event-videos.php +++ b/modules/sportspress-event-videos.php @@ -65,6 +65,4 @@ class SportsPress_Event_Videos { endif; -if ( get_option( 'sportspress_load_event_videos_module', 'yes' ) == 'yes' ) { - new SportsPress_Event_Videos(); -} +new SportsPress_Event_Videos();