How do I remove Editor in custom post type keeping the Add media button. When I used as following in custom post type declaration, it removes the Add Media button and I don’t need editor in my post type.
'supports' => array( 'title', 'thumbnail' ),
Thanks
WordPress uses the function wp_editor() and there are no parameter that will disable the textarea (what i can see). So i think that you can just hide it with some css.
It looks like WordPress 4.0 (or earlier) has removed the need for the editor, as I was able to easily not include it.