Enable Gutenberg on custom post type

Posted by Prem Tiwari | Updated on

Start by registering a Gutenberg WordPress custom type. The process is fairly easy and involves adding the following the code snippet.

add the show_in_rest key and set it to true via your custom post type.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers