Little fixes
This commit is contained in:
@@ -8,6 +8,7 @@ function sportspress_calendar_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail', 'excerpt' ),
|
||||
'register_meta_box_cb' => 'sportspress_calendar_meta_init',
|
||||
|
||||
@@ -10,6 +10,7 @@ function sportspress_column_post_init() {
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_column_meta_init',
|
||||
|
||||
@@ -8,6 +8,7 @@ function sportspress_list_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail' ),
|
||||
'register_meta_box_cb' => 'sportspress_list_meta_init',
|
||||
|
||||
@@ -10,6 +10,7 @@ function sportspress_metric_post_init() {
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'page-attributes' ),
|
||||
'capability_type' => 'sp_config'
|
||||
|
||||
@@ -10,6 +10,7 @@ function sportspress_outcome_post_init() {
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_outcome_meta_init',
|
||||
|
||||
@@ -8,6 +8,7 @@ function sportspress_player_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_player_meta_init',
|
||||
|
||||
@@ -10,6 +10,7 @@ function sportspress_result_post_init() {
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_result_meta_init',
|
||||
|
||||
@@ -8,6 +8,7 @@ function sportspress_staff_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail' ),
|
||||
'register_meta_box_cb' => 'sportspress_staff_meta_init',
|
||||
|
||||
@@ -10,6 +10,7 @@ function sportspress_statistic_post_init() {
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => false,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_statistic_meta_init',
|
||||
|
||||
@@ -8,6 +8,7 @@ function sportspress_table_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'supports' => array( 'title', 'author', 'thumbnail', 'excerpt' ),
|
||||
'register_meta_box_cb' => 'sportspress_table_meta_init',
|
||||
|
||||
@@ -8,6 +8,7 @@ function sportspress_team_post_init() {
|
||||
'label' => $name,
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'has_archive' => false,
|
||||
'hierarchical' => true,
|
||||
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes' ),
|
||||
'register_meta_box_cb' => 'sportspress_team_meta_init',
|
||||
|
||||
Reference in New Issue
Block a user