WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I remove the rich text box editor in WordPress? I have used the remove_meta_box function specifying the boxes ID, but it does not work like it does for other core meta boxes:

The code I tried:

function remove_rich_box()
    remove_meta_box('postdivrich', 'client', 'normal');  
add_action( 'do_meta_boxes', 'remove_rich_box' );

Where the second paratmeter "client" is my custom post type.

share|improve this question

Unfortunately, it's not possible to remove it like a metabox, since it isn't one.

However, there's a very easy way to get rid of it for a custom post type. If you don't define anything for the 'supports' argument in the registration function, your post type will default to

'supports' => array( 'title', 'editor' ),

To stop that, add this to your registration arguments array:

'supports' => array( 'title' ),
share|improve this answer
Thank you, that was exactly what I was looking for – Nenad Jul 2 '11 at 19:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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