From 69abd2be680dd60a52471fa79b7ca8ade8610701 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 15 Jan 2024 15:36:55 +0100 Subject: [PATCH] handling titles for post type brochures --- includes/post_types.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/post_types.php b/includes/post_types.php index 05bab6b..4ab0c5a 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -80,7 +80,7 @@ function create_posttype() 'menu_icon' => 'dashicons-book', 'menu_position' => 2, 'position' => 2, - 'supports' => array('custom-fields', 'page-attributes'), + 'supports' => array('custom-fields', 'page-attributes', 'title'), ) ); register_post_type(