Home » WordPress Tutorials » Basics » How to Disable Gutenberg in WordPress

How to Disable Gutenberg in WordPress

If Gutenberg is not suitable for your needs and wish to switch back to the Classic Editor, continue reading, as in this article we will show you 3 simple methods of how to disable the block editor.

In the following sections, you will read how to disable Gutenberg by:

  • Using the Classic Editor Plugin
  • Using the Disable Gutenberg Plugin
  • Adding a code snippet within the functions.php file in your website’s root directory

 

How to Disable Gutenberg in WordPress

All three methods are simple to apply and take no longer than a few minutes of your time. Each one is as effective as the others, and it is up to you to decide which approach is most suitable for your needs.

 

Method 1: Disable WordPress by Using the Classic Editor Plugin

For this method, you should install and activate a plugin – the Classic Editor. When this plugin is active, you have the chance to switch between the two main WordPress editors – Gutenberg and Classic Editor.

To install the plugin, first, open your WordPress dashboard.

Once you are in your admin panel, head to Plugins->Add New.

Then, search for “Classic Editor” and install the plugin:

WordPress Disable Gutenberg Block Editor Plugin

 

If you need more help knowing how to download and install WordPress plugins, have a look at our in-depth guide:

How to Install and Activate a WordPress Plugin

Once the plugin is active, Gutenberg will be automatically disabled, and the Classic Editor will become active instead.

This plugin also grants you the option to select which of both editors you would want to use. Should you wish to switch back to Gutenberg, from the WordPress dashboard go to Settings->Writing:

WordPress Disable Gutenberg Block Editor Settings

 

When you open the Writing settings page, you should see a Default editor for all users option:

WordPress Disable Gutenberg Block Editor Default Settings

 

From the suggested options choose Classic Editor. Keep in mind that this option is only available when the Classic Editor plugin is active.

Once you select the Classic editor, click on the blue Save Changes button at the bottom left of the screen, so WordPress applies and saves your new preferences:

WordPress Disable Gutenberg Block Editor Save Settings

 

Now you have managed to disable Gutenberg.

 

Method 2: Use the Disable Gutenberg Plugin

Another handy plugin is called Disable Gutenberg. As the name suggests, it deactivates the block editor, but also can do much more – Along with allowing you to fully deactivate Gutenberg, this plugin allows you to select which functionalities you wish to leave active, should you wish to do so.

To use these features, once again go to the WordPress plugins library and install and activate Deactivate Gutenberg:

WordPress Disable Gutenberg Block Editor

 

Once you install and activate the plugin, head to Settings->Disable Gutenberg within your WordPress admin dashboard (keep in mind that this option is available only when this plugin is active):

WordPress Disable Gutenberg Block Editor Disable Menu

 

Once you click on Disable Gutenberg, a new page with options will appear:

WordPress Disable Gutenberg Block Editor Disable Menu Settings

 

Notice that there are two main options that you can either activate or deactivate by adding ticks to the respective tick boxes:

WordPress Disable Gutenberg Block Editor Disable Menu Settings Checkbox Options

 

To be able to disable Gutenberg, make sure that there’s a tick to Complete Disable. You can also enable the Classic editor widgets by adding a tick to the Classic Widgets box.

Once you add the ticks, click on the blue Save Changes button located at the bottom of the page:

WordPress Disable Gutenberg Block Editor Disable Options Save Button

 

Now you have managed to disable Gutenberg.

However, as mentioned, this plugin comes with more options that you can browse and customize by clicking on the Click here button just below More Tools:

WordPress Disable Gutenberg Block Editor Disable Menu Settings Extended Checkbox Options

 

Once you click the button, a new list with available options will appear:

WordPress Disable Gutenberg Block Editor Disable Menu Settings Extended Checkbox Options List

 

Have a look at all the options and add ticks to the functions that you want enabled/disabled. Then click on Save Changes, so WordPress applies and saves your setup:

WordPress Disable Gutenberg Block Editor Disable Menu Settings Extended Checkbox Options List Save Changes

 

Method 3: Disable Gutenberg with a Code Snippet

With this method, you don’t need to install a plugin or make any kind of setup. You only need to access your website’s core files and add a single string of code to your active WordPress theme’s funticons.php file:

add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);

Before you continue, it is advisable to make a website backup.

The process is very simple and requires only a few clicks here and there. If you are using ZETTAHOST as your hosting provider, here’s what to do:

The first thing you should do is open your admin hosting dashboard. To do so, go to ZETTAHOST.com and click on Login:

WordPress Disable Gutenberg Block Editor ZETTAHOST Homepage

 

On the follow-up page enter your credentials and click the blue Login button:

WordPress Disable Gutenberg Block Editor ZETTAHOST Login Page

 

Once you enter your login credentials, you will enter the Zettahost hosting panel:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel

 

From this page head to File Manager:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel File Manager

 

Once you open the File Manager, a list with all your hosted websites will appear:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Websites List

 

While on this page, double-click on the folder with your website’s name. This will open this website’s list of core files:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website Directory

 

Now, while within your website’s core files directory, double-click on the wp-content/ folder:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website wp-content Directory

 

Within wp-content/ double-click on themes/ :

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website Themes Directory

 

Within themes/ you will see a list of all your installed WordPress themes. Double-click on the folder of your active theme. In our case this is twentytwentytwo/ :

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website Themes Directory Folders

 

Within the folder of your active theme, search for the functions.php file:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website functions.php File

 

Once you locate the functions.php file, double-click on its icon, so you can browse and edit the files’ content:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website functions.php File Content

 

Once you see the code string, head to the document’s bottom and add this snippet:

add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10);

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website functions.php File Content Code Snippet

 

Now that you have placed the snippet within the document, click on the blue Save button at the top of the opened document:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website functions.php File Save Changes

 

After you click on Save, a notification message will appear, informing you that the changes you just made are already applied to your website:

WordPress Disable Gutenberg Block Editor ZETTAHOST Hosting Panel Hosted Website functions.php File Save Changes Notification

 

Now you have managed to disable the block editor.

 

Conclusion

If Gutenberg is not the WordPress editor of your choice, you can quickly deactivate it with three simple and fast methods:

  • Installing the Classic Editor plugin
  • Installing Deactivate Gutenberg plugin
  • Adding a code snippet within the functions.php file.

Related:

 

 

 

Was this article useful?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

Newest Articles:

How to Add a Site Logo Block in WordPress with Gutenberg

Adding a site logo in WordPress with Gutenberg is straightforward and requires only a few mouse clicks and just several minutes of your time. In the following paragraphs, you will read how to add a site logo to your WordPress website via the Gutenberg editor step by...

How to Add Images to WordPress with Gutenberg

Adding images with Gutenberg is quite simple. The block editor is very user-friendly and allows you to add images in several ways. In the following paragraphs, you will read about 4 methods you can instantly use to upload the media files you want.   How to Add...

5 Best Gutenberg Plugins for WordPress

One of the fastest and most convenient ways of enhancing the functionalities of Gutenberg is by using various WordPress plugins. Although Gutenberg is very versatile and feature-rich by itself, the open-source nature of WordPress has inspired developers all around the...

How to Add a Contact Form with WordPress Gutenberg Editor

If you are using Gutenberg to craft your WordPress website, then you should know that the process is very easy, especially by using the block editor. In the following paragraphs, you will read how to add one to your pages.   How to Add a Contact Form with...

How to Access the Gutenberg Full Site Editor

The Gutenberg full site editor is a very faceted set of tools that allows you to craft a WordPress website that perfectly fits your website preferences and business goals. The full site editor gives you the opportunity to customize even the smallest details that...

Ready to Create Your Website?