From 1367fb80aaa914e3490d946a6037999f0fb6fc25 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 12 Aug 2024 14:40:46 +0200 Subject: [PATCH] supporting excerpts --- 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 4e8c628..9475594 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -62,7 +62,7 @@ function create_posttype() 'show_in_rest' => true, 'menu_icon' => 'dashicons-pressthis', 'menu_position' => 2, - 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revisions'), + 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revisions', 'excerpt'), // 'supports' => array('title', 'custom-fields', 'editor'), )