How to Add Gutenberg to WordPress Custom Post Types

With the new WordPress Gutenberg editor by default it doesn’t add gutenberg to custom post types by default.

Simply add the line below to your function that registers your WordPress custom post type and your CPT will use the Gutenberg editor!

'show_in_rest' => true,

Happy developing.

How to Add Gutenberg to WordPress Custom Post Types Tags:


Roger. That's in work.

Recent WordPress Projects

How I can help you.

Web Design Glasgow & Web Development Glasgow Services

Need a WordPress Website?

Passionate about creating custom WordPress plugins
and WordPress themes find out how I can help you.

Request a free Quote
Start your WordPress Project