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.
function wpse_78595_hide_editor() {
global $current_screen;
if( $current_screen->post_type == 'custom_post_type_name' ) {
$css="<style type="text/css">";
$css .= '#wp-content-editor-container, #post-status-info, .wp-switch-editor { display: none; }';
$css .= '</style>';
echo $css;
}
}
add_action('admin_footer', 'wpse_78595_hide_editor');
Related Posts:
- add_image_size() for specific Post Types
- Creating an Image-Centric Custom Post Type?
- How to disable generation of default image sizes for some custom post types?
- Media library – Limit images to custom post type
- Why does my custom WP role need edit_posts to edit images?
- List most recent image uploads, but only for specific custom post type
- set_post_thumbnail_size in percent, not pixels?
- How to add a CSS class to every image in a Custom Post Type
- Creating a metabox to upload multiple images, Ignoring The Featured Image
- Custom post type Admin Page
- How to hide CPT files from media library programmatically
- Add metabox with media uploader in a custom post type [duplicate]
- How do I add media to a custom post type?
- Extract image src from a post and send it to an external form
- Removing Image Sizes for Custom Post Type
- How to Removing fields from the Media Uploader/Gallery on a Custom Post Type Edit Page
- Image size filtering in Media uploader according to custom post type
- Count all images of a certain post type
- How to get source of custom meta image?
- Stopping WordPress from Auto Generating Image Files for Sizes
- Uploaded image not appearing in custom post type
- Return Attachments from Custom Post Type
- How do I organize photos for multiple galleries?
- How to get category image custom post type taxonomy in wordpress?
- Delete all associated media when custom post type removed
- add_image_size for post type
- Set Custom Image Size Just For Specific Custom Post Type
- Issue to get wp_get_attachment_image with cmb2
- How to rename image at uploading on specific plugin or post-type in WordPress
- How to insert multiple images into a single post within a CPT
- Adding class to featured image
- Change post featured image on hover
- List all images from a single post meta value
- Remove fields on media uploader for custom page type – not working for “From Computer” or “From Url” tabs?
- Custom Image Thumbnails of Different Sizes
- Duplicate Custom Header Functionality into the post edit screen
- how to get URL of media uploaded to WordPress via media_handle_sideload()
- How to move image thumbnails into custom folder for custom post type
- uploading images to specified directories
- Get image post ID in media upload
- Link to full size post thumbnail
- Custom Post Type with image gallery
- Multiple featured sizes / images / excerpts
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- How to Create an Image Upload Box for Custom Posts?
- Add custom image size for custom post type or taxonomy
- How to automatically set ‘default image size’ for specific Custom Post Type
- Problem: wp_query outputs all images on site
- Problems with image size on the server WordPress
- frontend image post uploader
- Adding custom image sizes and post types to a plugin or to a theme?
- How to handle large number of images in a post?
- How do you get the full size url of an attachment image
- Redirect to another page using contact form 7? [closed]
- How to add multiple images to a custom post type without plugin [closed]
- How can i link a custom post type thumbnail to intermediate size
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- How do you output an unknown number of images in a custom post type with desired markup?
- copy images from custom field to another custom field
- File sharing platform for user contributions? [closed]
- Using Image Sizes for Custom Post Types outside the Loop
- link featured image to external link
- Cannot upload featured image to a custom post type
- Thumbnails Not Generating
- Custom Attachment Type
- Should i use custom post type for a custom footer?
- Returning an image url from its attachment ID using a custom post type plugin
- Images not load on custom post type sidebar, related posts
- Not Able to Add New Class To CPT Attachment Image
- Save data is post using php front end
- DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front
- Attaching more than 1 parent (Post) to a media file
- How can I add image sizes for a specific custom post type?
- Change picture attachment meta of all occurrences of a picture
- Dupplication of Custom Post Type while adding attachment
- Media is not showing on post page
- Looping through image object using ACF and CPT UI [SOLVED]
- Multi Photo Upload with Caption on Front End for Custom Post Type
- Displaying image instead of post label in wordpress
- Links Image in “Catalog” Page to Posts
- How do I set a specific size for my image?
- Trying to get custom post type attachment images to function in indexed array
- Cant move file after media_handle_upload
- Working with gallery shortcode and get gallery images
- Image paths on custom post types getting /post_type/ added to path
- Custom post type Featured Image popup not working
- Retrieve post data via WPDB class
- How to Create a Frontend Html-list Editable in the Backend?
- Allow authors to create article image
- Add Image field to CPT
- img src not working correctly in custom post type
- Add a background image into a post [closed]
- Front end post or photo or both
- Using wp_insert_post to create custom posts with ACF image field
- set_post_thumbnail or media_sideload_image adds image multiple times in media library
- How to Create Grey Background for Product Images on Website Display but Retain White Background on Downloaded JPGs?
- Detach WordPress Media Files In Bulk
- Media Library empty or only 1 item when invoked from custom post type set featured image button
- Custom Meta Field – Remove comma from string with str_replace
- get_post_meta returning no value in custom post type alert email