Skip Navigation

[Resolved] Remove Content Editor for Custom Post Types

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to remove the default content editor in wordpress.

Solution:

You can actually remove this by going to your Custom Post Type settings in our Types plugin and unchecking the Editor checkbox.

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by liatG 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#957397

Hi there,

Since I'm using only custom fields in my layout, the content editor is getting in the way.

I'm trying to follow this documentation to hide the content editor box.
- https://wordpress.stackexchange.com/questions/18101/hide-content-box-with-custom-post-type

Here's the code I'm using:

add_action('init', 'my_remove_editor_from_post_type');
function my_remove_editor_from_post_type() {
remove_post_type_support( 'page', 'editor' );
}

I pasted this into the functions.php of my child theme.

It works with post type "page," but not for any of my custom post types ("testimonial," "knitting-video") etc.

Can you tell me how to remove the editor from my custom post types? I'd like to know how to remove it from several different post types.

Thank you,
Liat Gat

#957432

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screen Shot 2018-07-27 at 2.37.29 PM.png

Hi Liat,

Thank you for contacting our support forum.

You can actually remove this by going to your Custom Post Type settings in our Types plugin and unchecking the Editor checkbox. See Screenshot.

Please let me know if this helps.
Thanks,
Shane

#957446

You guys are amazing!! Thank you. You've thought of everything with this great tool.

Liat