Little fixes

This commit is contained in:
Brian Miyaji
2014-01-23 02:25:48 +11:00
parent 2cc1c3ee6c
commit f21ed7f522
19 changed files with 45 additions and 13 deletions

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',

View File

@@ -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'

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',

View File

@@ -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',