diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index c7b5070..78ddad2 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -117,6 +117,8 @@ function carhop_create_posttype() 'singular_name' => __('Recherche'), ), 'menu_name' => 'Recherches participatives', + 'show_in_rest' => true, + 'supports' => array('title', 'custom-fields', 'editor', 'thumbnail'), 'public' => true, 'has_archive' => true, 'menu_position' => 4,