From c856c91b169e291dbbe8a4d325565867cd308b41 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 17 Feb 2026 14:58:07 +0100 Subject: [PATCH] FEATURE Handling thumbnail for outils pedagogiques --- 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 dadeef4..edb24b8 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -150,7 +150,7 @@ function carhop_create_posttype() ) ); - // -------EXPOSITIONS------- // + // -------OUTILS PEDAGOGIQUES------- // register_post_type( 'outils-pedagogiques', array( @@ -163,7 +163,7 @@ function carhop_create_posttype() 'rewrite' => array('slug' => 'outils-pedagogiques'), 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), 'show_in_rest' => true, - 'supports' => array('title', 'custom-fields', 'editor'), + 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'), 'menu_position' => 4, ) );