handling revisions for conseils and questions
This commit is contained in:
parent
f309a6c2bb
commit
a15dabfa85
|
|
@ -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%'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user