How to enable Gutenberg for Custom Post Types and Custom Taxonomies

I couldn't find it easily in the documentation, although it's there they don't say the keyword "Gutenberg" anywhere.

show_in_rest

The keyword you have to look in the documentation is rest API.

In your register_taxonomy() or register_post_type() arguments you need to set:

Please notice you need it the parameter first and foremost the Custom Post Type and then, in case you have Custom Taxonomies, also there. Or they won't show up in Gutenberg's sidebar.

Documentation

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*