diff --git a/includes/post_types.php b/includes/post_types.php index 5463aa7..b934f5b 100644 --- a/includes/post_types.php +++ b/includes/post_types.php @@ -62,7 +62,8 @@ function create_posttype() 'show_in_rest' => true, 'menu_icon' => 'dashicons-pressthis', 'menu_position' => 2, - 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revision'), + 'supports' => array('title', 'editor', 'page-attributes', 'thumbnail', 'revisions'), + // 'supports' => array('title', 'custom-fields', 'editor'), ) ); @@ -99,7 +100,7 @@ function create_posttype() 'show_in_rest' => true, 'menu_icon' => 'dashicons-editor-help', 'menu_position' => 2.1, - 'supports' => array('title', 'custom-fields', 'editor', 'excerpt', 'revision'), + 'supports' => array('title', 'custom-fields', 'editor', 'excerpt', 'revisions'), // 'rewrite' => array('slug' => 'questions'), // 'rewrite' => array('slug' => 'questions/%thematiques%'),