Disable Gutenberg WordPress Editor The Best Guide In 2021

Do you want to completely disable Gutenberg WordPress Editor (block editor)?
Do you want to retain the classic WordPress editor?

Gutenberg is the default WordPress block editor for WordPress.org and WordPress.com. The Gutenberg block editor has replaced the classic editor. Many WordPress users expect Gutenberg is an inflexible block editor. It’s very hard to adjust their website.

In this context, I will show you, how to completely disable the Gutenberg block editor and retain the classic editor on the WordPress website.

In brief, Gutenberg is a brand new block editor for WordPress. You can create posts, pages, or products for your website. You can make a beautiful WordPress website using the Gutenberg block editor. The WordPress core development team has included the Gutenberg block editor in WordPress Version 5.0.

How To Disable Gutenberg WordPress Editor

You can disable Gutenberg WordPress Editor in two ways. A great method to disable Gutenberg WordPress block Editor is to install a free plugin. In the next sections, I’ll present you the most effective WordPress free plugins to the disable Gutenberg WordPress editor. I will show you two ways.

  • Using the plugin
  • Using the PHP functions ( programmatically )

Disable Gutenberg with the Plugin ( Classic Editor )

For this process, First, Your need to instill the WordPress Classic Editor plugin, After instill the Classic Editor plugin the Gutenberg block editor will be automatically disabled. By default, the Classic Editor plugin included Gutenberg block disables settings.

This plugin also displays an option to allow both the Gutenberg block editor and the Classic editor. So, if want you possibly can customize this plugin’s settings.

Also, you can do it from, WordPress admin area » Settings » Writing options. You will see two options Classic editor and Block editor.

Disable Gutenberg With The Plugin

Disable Gutenberg With The Plugin ( Disable Gutenberg Plugin )

You can completely disable Gutenberg WordPress Editor using the Disable Gutenberg plugin. This Disable Gutenberg plugin will completely disable the Gutenberg block and which is replaces it with the Classic Editor.

You can particular disable WordPress posts, pages, roles, custom post types, and themes. also, you can conceal the Gutenberg nag, menu item, and, many more! This plugin has included some awesome features eg, Meta Boxes, Quicktags, Custom Fields. This plugin institutes the original classic WordPress editor screen.

However, you should use the Disable Gutenberg plugin to completely disable Gutenberg WordPress editor to your website.

Disable Gutenberg WordPress Editor Programmatically

I already mentioned the easiest way to disable Gutenberg WordPress Editor. So, In this paragraph, I’ll present to you, the right way to disable Gutenberg WordPress Editor Programmatically. How to completely disable Gutenberg from Custom Post Types, Meta Boxes, older ways, etc.

The new process to disable Gutenberg
You should add the following pieces of code in your theme functions.php file and don’t forget to save the file.

Copy to Clipboard

Totally disable Gutenberg WordPress editor on the older versions. Add this code in your theme functions.php file.

Copy to Clipboard

Conditional way disable Gutenberg. Keep in mind, this code will be work, but completely depend on which WordPress version is running. So, before adding this code check your WordPress version.

Copy to Clipboard

Below the two methods to disable Gutenberg WordPress editor for Custom Post Types ( Specific post types, eg, post type == book ). 1. New method and other the old method. Before adding the code you should check the WordPress version and Gutenberg version (if you use Gutenberg ).

Copy to Clipboard

The new Gutenberg version 4.1+ and the old Gutenberg version less 4.1. also Compare the WordPress two filter hooks. New use_block_editor_for_post_type and old gutenberg_can_edit_post_type

Disable Gutenberg block for Meta Boxes. Many plugins use meta boxes so, sometimes you may need to remove the Gutenberg block from the meta boxes. Happily, you can do it the very easy way.

Add the following code and looks, the last parameter: ‘__block_editor_compatible_meta_box’ => false

The Old way, Simply add the following code to your wp-config.php filefile

Copy to Clipboard
Wrap Up

I have already shown you two methods, disable Gutenberg WordPress editor. So, you can choose the best ways for yours. I hope this article will help you to completely disable Gutenberg WordPress editor. I like to recommend you disable Gutenberg use a free plugin.

However, if you have any questions, please feel free comment to below.

Our Services

WordPress Website Development Services

If you want to create a WordPress website or eCommerce website, kindly visit our service.

  • Responsive WordPress Website
  • eCommerce Website With WooCommerce
  • WordPress Speed Optimization
  • WordPress Website Security
  • WordPress SEO

Please Visit: WordPress Website Development Services

Our Services

Author

The Best WordPress And WooCommerce Tutorial Website

My name is Tanmoy Biswas from Bangladesh and I am a Professional Programmer. I have been working for the last 6+ years with PHP, SQL, and WordPress. I have extensive knowledge of web development especially with PHP, SQL, AJAX, JavaScript, CSS, HTML, WordPress, WooCommerce.