Skip Navigation

[Resolved] Custom post type using classic editor even though it’s set to block editor

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

Problem:

The issue here is that the user had enable the Gutenburg editor on his Custom Post types but it wasn't showing up.

Solution:

In this user's case they disabled the content area for their custom post type in the Post Type settings.

This in turn causes the backend edit pages to render without an editor and the Gutenburg editor requires that the post content section is available.

This support ticket is created 5 years, 6 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)

This topic contains 6 replies, has 2 voices.

Last updated by jesseH-3 5 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#1281169

I have created a custom post type, Events, and it is set to use the Block editor.
But when I add or edit an Event, the classic editor is shown.
When adding/editing a regular Post or Page, the block editor is shown correctly.

#1281239

Shane
Supporter

Languages: English (English )

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

Screenshot 2019-07-01 at 2.25.33 PM.png

Hi Jesse,

Thank you for getting in touch.

I took a look at the site and the issue was because you disabled the editor for the CPT.

I've enabled the editor and its working now. See Screenshot

Thanks,
Shane

#1281261

I don't want a content editor area because I want people who add/edit Event posts to put all content in the custom fields. If there is a content editor area, it's easy for them to put event information there by accident. Is this just a limitation of WP 5?

#1281283

Shane
Supporter

Languages: English (English )

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

Hi Jesse,

I'm not sure what you want to achieve with the gutenburg block editor then since the editor is the default wordpress body editor ?

You can use the block editor for the content template.

However i'm confused as to why you would want the block editor to show up on Events but have the content section disabled. Because the block editor requires that this section be enabled.

Thanks,
Shane

#1281307

The rest of the site (Pages and Posts) use the block editor, since it's the WP default editor. If the custom post type uses the classic editor, it's confusing, because things like the categories, revisions, post status, permalink, etc. are in different places than they are in the posts and pages. I don't need the content area, but I do need for the add/edit interface to match what is used for posts and pages.

#1281315

Shane
Supporter

Languages: English (English )

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

Hi Jesse,

The Block editor requires that the content area is enabled. This is a limitation of wordpress. IT seems the new interface is tied to the Block editor

Thanks,
Shane

#1283517

Thank you for the information. It's too bad that this limitation exists in WordPress and I hope your team will continue to evaluate to see if you can eliminate this incompatibility with future WP versions.
May I also suggest you add this to documentation/errata? I did not find this information when searching your site.
Thank you!