supporting excerpts

This commit is contained in:
Antoine M 2024-08-12 14:40:46 +02:00
parent 888c943d55
commit 1367fb80aa

View File

@ -62,7 +62,7 @@ function create_posttype()
'show_in_rest' => true, 'show_in_rest' => true,
'menu_icon' => 'dashicons-pressthis', 'menu_icon' => 'dashicons-pressthis',
'menu_position' => 2, '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'), // 'supports' => array('title', 'custom-fields', 'editor'),
) )