From 9c9a49099d6691911a6fdbb64c575f510a3155c3 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 14:49:52 +0100 Subject: [PATCH] FEATURE Extending post types support for post type recherche --- mu-plugins/carhop-post-types.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index da94c23..85cea8d 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -104,8 +104,8 @@ function carhop_create_posttype() 'show_in_rest' => true, 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), 'menu_position' => 4, - 'supports' => array('title', 'custom-fields'), - 'taxonomies' => array('type'), + 'taxonomies' => array('type', 'etiquettes'), + 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'), ) ); register_post_type(