How to Disable Gutenberg and Switch to Classic Editor in WordPress

·

  • Learn how to disable the Gutenberg editor without plugins
  • Understand the implications of switching back to the Classic editor
  • Discover alternative methods to manage editor preferences

As a WordPress user, I’ve seen the platform evolve over the years. One of the most significant changes was the introduction of the Gutenberg editor in WordPress 5.0. While Gutenberg offers many advanced features, some users still prefer the simplicity of the Classic editor. In this post, I’ll show you how to disable Gutenberg and switch back to the Classic editor, along with some important considerations to keep in mind.

Before we dive in, let’s watch this helpful video tutorial:

Why Some Users Prefer the Classic Editor

The Classic editor has been a staple of WordPress for years. Its familiar interface resembles a traditional word processor, making it comfortable for long-time users. Some reasons why people might want to stick with the Classic editor include:

  • Simplicity and ease of use
  • Compatibility with older plugins and themes
  • Faster loading times on older servers
  • Preference for a text-focused editing experience

However, it’s important to note that WordPress is moving towards a block-based editing system, and the Classic editor may not be supported indefinitely.

How to Disable Gutenberg Without Plugins

If you’re using a third-party WordPress theme, you can disable Gutenberg by adding a few lines of code to your theme’s functions.php file. Here’s how:

  1. Log in to your WordPress dashboard
  2. Go to Appearance > Theme File Editor
  3. Select the functions.php file
  4. Scroll to the bottom of the file
  5. Add the following code:
add_filter('use_block_editor_for_post', '__return_false', 10);
add_filter('use_block_editor_for_post_type', '__return_false', 10);
  1. Click “Update File”

After adding this code, your site will default to the Classic editor for all posts and pages.

Important note: This method won’t work for first-party WordPress themes like Twenty Twenty-Three or Twenty Twenty-Four, which use site editing techniques. For those themes, you’ll need to explore other options.

Considerations When Switching Back to Classic Editor

While reverting to the Classic editor might feel comfortable, there are some important things to keep in mind:

  1. Compatibility with Gutenberg content: The Classic editor may not display content created with Gutenberg blocks correctly. It’s best to avoid editing Gutenberg-created content in the Classic editor to prevent layout issues.
  2. Theme updates: When you update your theme, the code you added to disable Gutenberg may be removed. You’ll need to re-add the code after each update.
  3. Future compatibility: WordPress is moving towards full site editing with Gutenberg. By sticking with the Classic editor, you might miss out on new features and improvements.

Alternative Methods to Manage Editor Preferences

If you’re not comfortable editing theme files or want more flexibility, consider these alternatives:

  1. Classic Editor Plugin: This official WordPress plugin allows you to use the Classic editor while still having the option to switch to Gutenberg when needed. Learn how to install WordPress plugins if you’re new to the process.
  2. Code Snippets Plugin: This popular plugin allows you to add custom code snippets to your site without editing theme files directly. It’s a safer option and persists through theme updates.

The Future of WordPress Editing

While it’s possible to switch back to the Classic editor, it’s worth considering the benefits of embracing Gutenberg:

  • Block-based design: Gutenberg offers a more flexible and visual way to create content.
  • Reusable blocks: You can create and save custom blocks for repeated use across your site.
  • Full Site Editing: Newer WordPress versions are moving towards a complete site customization experience using Gutenberg.
  • Better performance: Gutenberg can potentially improve your site’s loading times and overall performance.

Learn more about the benefits of the Gutenberg editor and how it compares to other page builders.

Conclusion

While the Classic editor holds a special place in many WordPress users’ hearts, the platform is evolving. Gutenberg represents the future of WordPress editing, offering more flexibility and features for content creation.

If you decide to stick with the Classic editor for now, remember to keep an eye on WordPress updates and be prepared to adapt in the future. The methods described in this post can help you transition smoothly, but it’s worth investing time in learning Gutenberg to take full advantage of WordPress’s evolving capabilities.

Whether you choose to embrace Gutenberg or stick with the Classic editor, the most important thing is to find a workflow that helps you create great content for your website. Happy editing!

Let Your Website Promote Your Business

If people can’t find your site on Google, they won’t do any business.