For Gutenberg to work in a Custom Post Type you need to enable both the editor
in supports
(which you already have) and show_in_rest
. So add 'show_in_rest' => true,
to your post registration arguments array.
Related Posts:
- How to add button to post page WordPress 5.x
- WordPress Rest API only returns content when posttype has editor capability
- Custom Post Types: How-to get rid of editor (-meta box)
- Front end post editing using a form
- Creating conditional blocks for WordPress Gutenberg
- Add class to Gutenberg Editor for Custom Post Types
- How to filter by custom post type on Gutenberg “Latest Posts’ block
- Gutenberg: Sidebar for specific post type
- Gutenberg how to make attribute to save to meta
- WordPress Gutenberg-Block with ESNext (withState, withSelect)
- The editor has encountered an unexpected error. // TypeError: Cannot read property ‘prefix’ of null
- Display different gutenberg template from selected post attributes
- Editor access to menu: custom post type missing
- Lock post meta block at the bottom of a custom post type
- How can I list all custom post types in a block
- Gutenberg Featured-Image-panel missing when user with custom role edits Custom Post Type
- Adding a Gutenberg-like custom field on a custom post type
- Classic editor showing in Gutenberg when creating a custom post type
- Creating template with h3 block (block editor)
- How To Enable Block Editor (Gutenberg) for Existing Post Type via functions.php
- How to make a custom taxonomy selectable in post publish area?
- show_in_rest false disable Gutenberg
- I can’t choose the custom taxonomy in my custom post type on Gutenberg
- Parent field missing from custom post type in the block editor
- How to get the parent of a non-hierarchical custom post type being edited in Gutenberg
- post_type_link not working in gutenberg
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- Visual editor issue by having multiple tiny mce editors in a CPT
- Getting meta in editor plugin, and event triggering issue
- Save the post parent in a custom post type in Gutenberg
- WordPress CPT save metadata in gutenberg
- Can I override a CPT template on a per post basis with Gutenberg block editor?
- Query Post Object in WP Admin
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor
- Is it possible to activate customfield ‘text description’ upon activating the customfield ‘checkbox’?
- Target post type edit page to change view post button, how do I?
- Show all tags on custom post type
- Combine multiple getEntityRecords calls
- Custom post type editor uses old tinyMCE
- Editor / Add Media: Is it possible to only allow galleries?
- wysiwyg editor don´t export paragraph
- Use core block functionality in a custom block gutenberg
- gutenberg message
- How do I assign a block template (.html) to a custom post type?
- Capabilities not working with custom post type
- Function to add custom HTML into head in custom post-type list page
- Custom post type set default template using block editor
- CPT: Enable Gutenberg, but disable editor field
- How to fix the Post Preview Button (CPT & map_meta_cap)
- How do I disable the built-in editor and automatically configure the properties of new pages?
- Select custom post type do display from page editor
- How add Filter by Tags and by categories to custom post type in Gutenberg block
- Is it possible to add the Gutenberg block editor to a custom taxonomy?
- How to debug failing updates for custom post type?
- wp_editor in custom post type is not saving formatted text like bold, italic etc
- Some posts not displaying by taxonomy term
- Editor role isn’t seeing specific post type posts with only post_type parameter
- How to hide editor, but keep media library access
- Show posts of parent in edit.php
- Adding custom shortcode to page leads to page without styling
- Can you programme the selected page template to display block patterns automatically?
- Possible to limit internal link search to post types with Gutenberg editor?
- Custom Gutenberg block problem – This block has encountered an error and cannot be previewed
- getEntityRecords/useEntityRecords: How to use CPT metadata?
- Working with editors and pending custom post types
- Custom Block: Adding “Post Type” dropdown to Sidebar Settings
- Why does have_posts() return false when in the wordpress admin, but not on the frontend?
- Post term block variations not generated for custom taxonomies
- Can’t publish custom type posts that don’t support title and editor, instead they’re saved as draft
- Is there a way to get Gutenberg interface on a Custom Post Type without supporting block editor?
- Displaying taxonomy icon outside archive page
- Custom Post Type Archive Links Not Working
- Selecting posts older than the current Unix epoch timestamp
- Limit number of posts under a post type?
- Redirect Custom Post Type after user submits update
- Capability to edit own post, but not create new one
- Can’t use orderby in WP_Query
- Custom Post Type Categories Not Maintaining URL structure any more
- Why won’t this rewrite rule work?
- Custom posts affecting Recent Posts
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Custom Post Type meta oembed html output resulting in WSoD
- archive-{custom_post_type}.php not getting recognized wordpress
- Custom post type single display is ommited
- Customizing the custom post type permalink
- Paginate custom taxonomy category with wp_custom_pagination
- Comments not enabled for custom post types
- Fetch post meta in the same query as the main loop
- Redirection error after posting a comment on a custom type post
- Repeatable WordPress custom fields in a metabox
- Archive.php is not displaying tags
- Unable to get the upcoming events for custom post
- How to retrieve the permalink for a specific (custom) term?
- Filter RSS feed for custom post type to events for next 7 days only
- Meta-Box to add multiple items one at a time and on publish save all
- Redirection loop error after login from a custom post type post
- Values inside a custom field to determine which category posts to display
- remove custom post type ulr