diff --git a/includes/sp-core-functions.php b/includes/sp-core-functions.php index e3c0f8a9..9950a5df 100644 --- a/includes/sp-core-functions.php +++ b/includes/sp-core-functions.php @@ -504,7 +504,13 @@ if ( !function_exists( 'sp_get_term_sections' ) ) { if ( !function_exists( 'sp_get_default_mode' ) ) { function sp_get_default_mode() { - return get_option( 'sportspress_mode', 'team' ); + $mode = get_option( 'sportspress_mode', 'team' ); + + if ( empty( $mode ) ) { + $mode = 'team'; + } + + return $mode; } }