How To Disable Gutenberg Editor For WordPress 5.0

Once my site upgraded to the latest version, I can’t edit/add the page or post anymore, look like the new editor – Gutenberg has trouble with my other plugins. How can I disabled Gutenberg editor for WordPress 5.0

If you would like to disable new editor – Gutenberg for WordPress 5.0, there are 3 options

Option 1 - Install The Classic Editor WordPress Plugin

You can install the Classic Editor WordPres – Plugin Home. Once install the plugin, you can switch the editor between Gutenberg and TinyMCE

Option 2 - Install WordPress Plugin "Disable Gutenberg"

There is another WordPress plugin you can use to disable WordPress 5.0 new editor. Disable Gutenberg which is the similar plugin as “Class Editor” which is allowing you to remove Gutenberg editor complete and even “Gutenberg admin notice”

Option 3 - Disable Gutenberg editor via Code

You can place following codes within your function.php page. For the version newer than WordPress 5.0 beta
add_filter('use_block_editor_for_post_type', '__return_false', 100);
For other verions
add_filter('gutenberg_can_edit_post_type', '__return_false');
To disable Gutenberg for Meta Boxes

When adding the meta box, we can pass argument to disable Gutenberg editor.

add_meta_box('metabox_id', 'Metabox Name', 'metabox_callback', null, 'advanced', 'default', array('__block_editor_compatible_meta_box' => false));
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments