generated from pascalmartineau/wp-skeleton
minor: membre public
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 57s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 57s
This commit is contained in:
@@ -38,16 +38,13 @@ function ccat_contributor_register_post_type() {
|
||||
'item_scheduled' => __( "Contributor scheduled.", 'ccat' ),
|
||||
'item_updated' => __( "Contributor updated.", 'ccat' ),
|
||||
),
|
||||
'public' => true,
|
||||
'public' => false,
|
||||
'hierarchical' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_nav_menus' => false,
|
||||
'supports' => array( 'title', 'thumbnail', 'author', 'excerpt', 'revisions' ),
|
||||
'has_archive' => false,
|
||||
'rewrite' => array(
|
||||
'slug' => 'membre',
|
||||
'with_front' => false,
|
||||
),
|
||||
'rewrite' => false,
|
||||
'query_var' => true,
|
||||
'menu_icon' => 'dashicons-art',
|
||||
'show_in_rest' => true,
|
||||
|
||||
@@ -38,13 +38,17 @@ function ccat_membership_register_post_type() {
|
||||
'item_scheduled' => __( "Membership scheduled.", 'ccat' ),
|
||||
'item_updated' => __( "Membership updated.", 'ccat' ),
|
||||
),
|
||||
'public' => false,
|
||||
'public' => true,
|
||||
'hierarchical' => false,
|
||||
'show_ui' => true,
|
||||
'show_in_nav_menus' => false,
|
||||
'supports' => array( 'title', 'thumbnail', 'author', 'revisions' ),
|
||||
'has_archive' => false,
|
||||
'rewrite' => false,
|
||||
'rewrite' => array(
|
||||
'slug' => 'membre',
|
||||
'with_front' => false,
|
||||
|
||||
),
|
||||
'query_var' => true,
|
||||
'menu_icon' => 'dashicons-id',
|
||||
'show_in_rest' => true,
|
||||
|
||||
Reference in New Issue
Block a user