handling titles for post type brochures

This commit is contained in:
Antoine M 2024-01-15 15:36:55 +01:00
parent 0cfcba52f0
commit 69abd2be68

View File

@ -80,7 +80,7 @@ function create_posttype()
'menu_icon' => 'dashicons-book', 'menu_icon' => 'dashicons-book',
'menu_position' => 2, 'menu_position' => 2,
'position' => 2, 'position' => 2,
'supports' => array('custom-fields', 'page-attributes'), 'supports' => array('custom-fields', 'page-attributes', 'title'),
) )
); );
register_post_type( register_post_type(