From 838ccdf6ec77d03cfcd1ae46c0d78add211c7da9 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 11 May 2026 11:16:44 +0200 Subject: [PATCH] FEATURE updating menu icons for post types --- 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 2eb80c4..6ad91b5 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -57,7 +57,7 @@ function carhop_create_posttype() 'has_archive' => true, 'rewrite' => array('slug' => 'actualites'), 'show_in_rest' => true, - 'menu_icon' => 'dashicons-admin-post', + 'menu_icon' => 'dashicons-buddicons-pm', 'menu_position' => 4, 'supports' => array('title', 'editor', 'thumbnail'), 'taxonomies' => array('etiquettes'), @@ -262,7 +262,7 @@ function carhop_create_posttype() 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'reportages'), - 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), + 'menu_icon' => 'dashicons-megaphone', 'show_in_rest' => true, 'supports' => array('title', 'revisions'), 'menu_position' => 4,