From e1ba2fb5ecb92f099a65e0d011dadaea08fed4a3 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 14:50:24 +0100 Subject: [PATCH] FEATURE Extending post types support for post type communiques --- mu-plugins/carhop-post-types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index 85cea8d..c7b5070 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -146,7 +146,7 @@ function carhop_create_posttype() 'rewrite' => array('slug' => 'communiques-presse'), 'show_in_rest' => true, 'show_in_menu' => 'carhop-presse', - 'supports' => array('title', 'custom-fields'), + 'supports' => array('title', 'custom-fields', 'thumbnail'), 'menu_position' => 4, ) );