How to Disable Gutenberg Step by Step

Disable Gutenberg

Introduction:

WordPress has undergone significant changes in recent years, and one of the most notable transformations was the introduction of the Gutenberg editor. While many users appreciate the new block-based editing system, some may prefer the classic editor for various reasons. If you find yourself in the latter group, this guide will walk you through the steps to disable Gutenberg and revert to the classic editor in WordPress.

Learn how to disable Gutenberg in WordPress with our comprehensive step-by-step guide. Follow these instructions to revert to the Classic Editor easily.

  1. Install and Activate the Classic Editor Plugin:
    The easiest way to disable Gutenberg is by using the Classic Editor plugin. Follow these steps:

    • Log in to your WordPress admin dashboard.
    • Navigate to “Plugins” and click on “Add New.”
    • In the search bar, type “Classic Editor.”
    • Locate the Classic Editor plugin and click “Install Now.”
    • Once the installation is complete, click “Activate.”

  2. Configure the Classic Editor Settings:
    After activating the Classic Editor plugin, you’ll want to configure its settings to ensure it fully replaces Gutenberg. Follow these steps:

    • Go to “Settings” in the WordPress dashboard.
    • Click on “Writing.”
    • Under “Default editor for all users,” select “Classic Editor.”
    • Choose the “Classic editor” option for both the “Allow users to switch editors” and “Disable the block editor” settings.

Disable Gutenberg with Code.

For those who prefer a code-based solution, you can disable Gutenberg by adding a few lines of code to your theme’s functions.php file. Here’s how:

  • Access your WordPress files using an FTP client or the file manager in your hosting control panel.

  • Locate the theme you are currently using (usually in the wp-content/themes directory).

  • Edit the functions.php file.

  • Add the following code snippet at the end:

Update! New way to disable Gutenberg

Also add code in this file functions.php
Disable Gutenberg with Code
// disable for posts
add_filter('use_block_editor_for_post', '__return_false', 10);

// disable for post types
add_filter('use_block_editor_for_post_type', '__return_false', 10);

Older versions of WP/Gutenberg

Also add code in this file functions.php
// disable for posts
add_filter('gutenberg_can_edit_post', '__return_false', 10);

// disable for post types
add_filter('gutenberg_can_edit_post_type', '__return_false', 10);

Save the changes.

Why Disable Gutenberg?

Gutenberg introduced a block-based approach to content creation in WordPress. While it’s designed to make editing more intuitive, some users prefer the simplicity of the Classic Editor. Disabling Gutenberg allows you to continue using the familiar interface you’re comfortable with.

Step-by-Step Guide to Disable Gutenberg

Follow these steps to disable Gutenberg and revert to the Classic Editor:

  1. Install the Classic Editor Plugin

    • Start by installing the Classic Editor plugin from the WordPress repository. This plugin restores the previous WordPress editor and disables Gutenberg.
     

    Alt text: Install Classic Editor Plugin

  2. Activate the Classic Editor

    • After installation, activate the Classic Editor plugin. You can do this from the Plugins menu in your WordPress dashboard.
  3. Configure Default Editor Settings

    • Go to Settings → Writing in your WordPress admin panel. Here, you can configure the default editor for all users. Choose between the Classic Editor or Gutenberg (Block Editor).
  4. Disable Gutenberg Completely (Optional)

    • If you want to completely disable Gutenberg and prevent users from switching back to it, you can use additional plugins like Disable Gutenberg or Code Snippets.

External Resources for Further Reading

For more detailed information on managing WordPress editors and plugins, check out these resources:

Conclusion

Disabling Gutenberg in WordPress doesn’t have to be complicated. By following these steps, you can easily switch back to the Classic Editor and continue managing your content without interruption. Whether you’re a blogger, developer, or site owner, maintaining control over your editing experience is essential for productivity and workflow efficiency.

Now that you know how to disable Gutenberg, take charge of your WordPress editing environment today!

Share the Post:

Table of Contents

Join Our Newsletter