I'm using Wordpress Types for create and manage Custom Post Types (CPT) at my blog and it works perfectly. I have created a CPT called Espacio Publicitario and I added also some custom fields (see image below). I need to hide body copy box since on this CPT is useless, can I do that? How? It will be hide just for this CPT not for the rest of the post, pages and so on

enter image description here

2 Answers 2


There is a built in WordPress function for this, remove_post_type_support http://codex.wordpress.org/Function_Reference/remove_post_type_support .

In your case you could use something like

add_action( 'init', 'my_custom_init' );
function my_custom_init() {
    remove_post_type_support( 'custom_post_type_name', 'editor' );

Yes, you can easily do it at the time of creating custom post type by using the register_post_type( $post_type, $args )
function. Don't use the 'editor' in supports parameter.

register_post_type('posttype name',$args);  
$args = array(  
        'labels' => $labels,  
        'public' => true,  
        'publicly_queryable' => true,  
        'show_ui' => true,   
        'show_in_menu' => true,   
        'query_var' => true,  
        'rewrite' => true,   
        'capability_type' => 'post',  
        'has_archive' => true,   
        'hierarchical' => false,  
        // on the supports param here you see no 'editor'  
        'supports' => array('title','author','thumbnail','excerpt','comments')    

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.