generated from pascalmartineau/wp-skeleton
fix: hierarchical location
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 1m0s
This commit is contained in:
@@ -42,7 +42,7 @@ function ccat_location_register_post_type() {
|
||||
'hierarchical' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_nav_menus' => false,
|
||||
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions' ),
|
||||
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions', 'page-attributes' ),
|
||||
'has_archive' => false,
|
||||
'rewrite' => array(
|
||||
'slug' => 'lieu',
|
||||
|
||||
Reference in New Issue
Block a user