FEATURE Extending post types support for post type communiques
This commit is contained in:
parent
9c9a49099d
commit
e1ba2fb5ec
|
|
@ -146,7 +146,7 @@ function carhop_create_posttype()
|
||||||
'rewrite' => array('slug' => 'communiques-presse'),
|
'rewrite' => array('slug' => 'communiques-presse'),
|
||||||
'show_in_rest' => true,
|
'show_in_rest' => true,
|
||||||
'show_in_menu' => 'carhop-presse',
|
'show_in_menu' => 'carhop-presse',
|
||||||
'supports' => array('title', 'custom-fields'),
|
'supports' => array('title', 'custom-fields', 'thumbnail'),
|
||||||
'menu_position' => 4,
|
'menu_position' => 4,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user