diff --git a/includes/taxonomy.php b/includes/taxonomy.php index e69f9c3..bbc5366 100644 --- a/includes/taxonomy.php +++ b/includes/taxonomy.php @@ -66,9 +66,9 @@ function homegrade_add_custom_taxonomies() 'show_in_rest' => true, // Needed for tax to appear in Gutenberg editor 'show_ui' => true, 'show_admin_column' => false, - 'hierarchical' => true, // This will allow URL's like "/locations/boston/cambridge/" 'show_in_quick_edit' => false, 'meta_box_cb' => false, + 'hierarchical' => true, // This will allow URL's like "/locations/boston/cambridge/" 'rewrite' => array( 'slug' => 'questions-thematiques', // 'with_front' => false, @@ -95,7 +95,11 @@ function homegrade_add_custom_taxonomies() 'menu_name' => __('Type', 'homegrade-theme__texte-backoffice'), ), 'hierarchical' => false, - 'show_in_rest' => true, + 'show_in_rest' => true, // Needed for tax to appear in Gutenberg editor + 'show_ui' => true, + 'show_admin_column' => false, + 'show_in_quick_edit' => false, + 'meta_box_cb' => false, 'default_term' => [ 'name' => ' Général', 'slug' => 'general',