Custom Post Types: How-to get rid of editor (-meta box)

Giving a blank array to ‘supports’ in the declaration of the post type should get rid of the editor and the title, along with every other default box in the edit post page.

$supports = array ('');
    $args = array(
      'label' => 'people',
      'supports' => $supports,
      'hierarchical' => false,
      'public' => true,
      'rewrite' => true
         );

    register_post_type( 'people', $args);

Result:
alt text
Populate ‘supports’ with whichever elements you want to show up, such as trackbacks, comments, etc. Or just leave it blank to leave the page empty, except for the box that lets you save your posts. Make sure to visit here if you want to get rid of hierarchical taxonomy metaboxes as well.

Leave a Comment