From 4388ac6f6c2528e7342c283413bffcca665359f9 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 25 Mar 2026 16:00:36 +0100 Subject: [PATCH] FEATURE Handling dbmob post type --- mu-plugins/carhop-post-types.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index f46405c..e3053e5 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -73,8 +73,9 @@ function carhop_create_posttype() // CPT Options array( 'labels' => array( - 'name' => __('DBMOB'), - 'singular_name' => __('DBMOB'), + 'name' => __('Notices'), + 'singular_name' => __('Notice biographique'), + 'menu_name' => __('Notices biographiques'), ), 'public' => true, 'has_archive' => true, @@ -83,7 +84,7 @@ function carhop_create_posttype() 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), 'menu_position' => 4, 'supports' => array('title', 'custom-fields'), - 'taxonomies' => array('category'), + ) );