diff --git a/includes/class-sp-post-types.php b/includes/class-sp-post-types.php index 7a15d917..a44b8fce 100644 --- a/includes/class-sp-post-types.php +++ b/includes/class-sp-post-types.php @@ -357,7 +357,7 @@ class SP_Post_types { 'hierarchical' => false, 'rewrite' => array( 'slug' => get_option( 'sportspress_event_slug', 'event' ) ), 'supports' => array( 'title', 'author', 'thumbnail', 'excerpt', 'comments' ), - 'has_archive' => true, + 'has_archive' => false, 'show_in_nav_menus' => true, 'menu_icon' => 'dashicons-calendar', ) @@ -418,7 +418,7 @@ class SP_Post_types { 'hierarchical' => true, 'rewrite' => array( 'slug' => get_option( 'sportspress_team_slug', 'team' ) ), 'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes', 'excerpt' ), - 'has_archive' => true, + 'has_archive' => false, 'show_in_nav_menus' => true, 'menu_icon' => 'dashicons-shield-alt', ) @@ -479,7 +479,7 @@ class SP_Post_types { 'hierarchical' => false, 'rewrite' => array( 'slug' => get_option( 'sportspress_player_slug', 'player' ) ), 'supports' => array( 'title', 'author', 'thumbnail', 'excerpt', 'page-attributes' ), - 'has_archive' => true, + 'has_archive' => false, 'show_in_nav_menus' => true, 'menu_icon' => 'dashicons-groups', ) @@ -540,7 +540,7 @@ class SP_Post_types { 'hierarchical' => false, 'rewrite' => array( 'slug' => get_option( 'sportspress_staff_slug', 'staff' ) ), 'supports' => array( 'title', 'author', 'thumbnail', 'excerpt' ), - 'has_archive' => true, + 'has_archive' => false, 'show_in_nav_menus' => true, 'show_in_menu' => 'edit.php?post_type=sp_player', 'show_in_admin_bar' => true,