How to make existing CPTs editable in Gutenberg created with Toolset
-
I am working on a project where a lot of custom post types are created with Toolset Type. the project is now going to use Gutenberg and some shortcodes need to be converted into blocks, which I am doing.
The problem is all post type edit pages are coming with default old WP editor. I need them to make compatible with Gutenberg so that shortcode blocks are workable.
To make a post type editable in Gutenberg I have to use
'show_in_rest' => true
. How can do it with existing CPTs created with your plugin? Is there a way or I have to rewrite those CPTs by hand?Please suggest. Its kind of urgent.
Thank you!
- The topic ‘How to make existing CPTs editable in Gutenberg created with Toolset’ is closed to new replies.