=== Disable Gutenberg ===

Plugin Name: Disable Gutenberg
Plugin URI: https://perishablepress.com/disable-gutenberg/
Description: Disables Gutenberg Block Editor and restores the Classic Editor and original Edit Post screen. Provides options to enable on specific post types, user roles, and more.
Tags: classic editor, block editor, editor, gutenberg
Author: Jeff Starr
Author URI: https://plugin-planet.com/
Donate link: https://monzillamedia.com/donate.html
Contributors: specialk
Requires at least: 4.9
Tested up to: 7.0
Stable tag: 3.3.1
Version:    3.3.1
Requires PHP: 5.6.20
Text Domain: disable-gutenberg
Domain Path: /languages
License: GPL v2 or later

Disable Gutenberg Block Editor and restore the Classic Editor and original Edit Post screen (TinyMCE, meta boxes, etc.).



== Description ==

This plugin disables the new Gutenberg Editor (aka Block Editor) and replaces it with the Classic Editor. You can disable Gutenberg completely, or selectively disable for posts, pages, roles, post types, and theme templates. Plus you can hide the Gutenberg nag, menu item, and more!

> &#9824; The all-in-one, COMPLETE solution for handling Gutenberg
> &#9824; Hide ALL traces of Gutenberg and replace with Classic Editor
> &#9824; Restores original Edit Post screen (TinyMCE, meta boxes, etc.)

The Disable Gutenberg plugin restores the classic (original) WordPress editor and the "Edit Post" screen. So you can continue using plugins and theme functions that extend the Classic Editor. Supports awesome features like Meta Boxes, Quicktags, Custom Fields, and everything else the Classic Editor can do.


**Easy to Use**

Just activate and done! The default plugin settings are configured to hide all traces of the Gutenberg Block Editor, and fully restore the original Classic Editor. Further options for customizing when/where Gutenberg is enabled are available in the plugin settings.

> &#9824; Disable Block Widgets and restore Classic Widgets :)


**Options**

* Disable Gutenberg completely (all post types)
* Disable Gutenberg for any post type
* Disable Gutenberg for any user role
* Disable Gutenberg for any theme template
* Disable Gutenberg for any post/page IDs
* Disable Gutenberg admin notice (nag)
* Option to restore Classic Widgets
* Option to hide the plugin menu item
* Option to hide the Gutenberg plugin menu item (settings link)
* Adds "Classic Editor" link to each post on the Posts screen
* Adds item to the WP sidebar menu: "Add New (Classic)"
* Option to enable Custom Fields Meta Box for ACF
* Choose which editor to use for each post
* Whitelist any post title, slug, or ID
* Option to enable/disable frontend Gutenberg stylesheet

> &#9824; Works same as Classic Editor plugin, but can do a LOT more!
> &#9824; Lightweight and super fast, built with WP APIs :)

Fully configurable, enable or disable Gutenberg and restore the Classic Editor wherever is necessary.

_Automatically replaces Gutenberg with the Classic Editor._


**Features**

* Super simple
* Clean, secure code
* Built with the WordPress API
* Lightweight, fast and flexible
* Regularly updated and "future proof"
* Works great with other WordPress plugins
* Plugin options configurable via settings screen
* Focused on flexibility, performance, and security
* One-click restore plugin default options
* Translation ready

> &#9824; Works great with Google AMP and the WordPress [AMP plugin](https://wordpress.org/plugins/amp/)

Disable Gutenberg is developed and maintained by [Jeff Starr](https://x.com/perishable), 15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/).

_Super light & fast plugin, super easy on server resources!_


**Why?**

Gutenberg is a useful editor but sometimes you want to disable it for specific posts, pages, user roles, post types, and/or theme templates. This plugin enables you to disable Gutenberg and replace it with the Classic Editor wherever you want. For example, lots of WordPress users already enjoy robust page-building functionality via one of the many great plugins like Composer or Elementor. So many options, no need to feel "locked in" to using Gutenberg!

_If you like Disable Gutenberg, please give it a [5-star rating](https://wordpress.org/support/plugin/disable-gutenberg/reviews/?rate=5#new-post), thank you!_


**Privacy**

This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.


**Support development**

I develop and maintain this free plugin with love for the WordPress community. To show support, you can [make a donation](https://monzillamedia.com/donate.html) or purchase one of my books:

* [The Tao of WordPress](https://wp-tao.com/)
* [Digging into WordPress](https://digwp.com/)
* [.htaccess made easy](https://htaccessbook.com/)
* [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
* [Wizard's SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/)

And/or purchase one of my premium WordPress plugins:

* [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Blazing fast WordPress firewall
* [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots
* [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys
* [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/) - Connect WordPress to Google Analytics
* [Head Meta Pro](https://plugin-planet.com/head-meta-pro/) - Ultimate Meta Tags for WordPress
* [REST Pro Tools](https://plugin-planet.com/rest-pro-tools/) - Awesome tools for managing the WP REST API
* [Simple Ajax Chat Pro](https://plugin-planet.com/simple-ajax-chat-pro/) - Unlimited chat rooms
* [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms

Links, tweets and likes also appreciated. Thanks! :)



== Screenshots ==

1. Plugin Settings screen (showing default options)
2. Plugin Settings screen (showing expanded options)



== Installation ==

**Installing the plugin**

1. Upload the plugin to your blog and activate
2. Configure the plugin settings as desired
3. Enable theme switcher via settings or shortcode

[More info on installing WP plugins](https://wordpress.org/documentation/article/manage-plugins/#installing-plugins-1)


**Settings**

Out of the box, Disable Gutenberg makes your WordPress 100% Gutenberg-free. If you visit the settings page, you will see that the "Complete Disable" option is enabled, and so is the "Disable Nag" option. This is all that is required to disable Gutenberg (and the nag) sitewide.

Now, if you want to customize things and, say, only disable Gutenberg on specific post types, you can uncheck that first "Complete Disable" option. When you uncheck the box, more options will be displayed. So you can choose exactly where Gutenberg should be disabled.


**Whitelist**

In some cases, you may want to disable Gutenberg everywhere, but enable only on certain posts. To do this, set the "Complete Disable" option to __enabled__. Then visit the "Whitelist" settings to specify which posts always should open in the Block Editor.


**Important**

Do not use Disable Gutenberg with other plugins (like the Classic Editor plugin) that also disable or replace Gutenberg. Why? Because it may cause loading of redundant scripts, which may in turn lead to unexpected/untested results.


**Hide Menu Option**

Disable Gutenberg provides a setting to disable the plugin's menu item. This is useful if you don't want your clients to get curious and start fiddling around.

If you enable the option to hide the plugin's menu item, you will need to access the plugin settings page directly. It is located at:

`/wp-admin/options-general.php?page=disable-gutenberg`

So if WordPress is installed at this URL:

`https://example.com/`

..then you would access the plugin settings at:

`https://example.com/wp-admin/options-general.php?page=disable-gutenberg`

Or, if WordPress is installed in a subdirectory, for example:

`https://example.com/wordpress/`

..then you would access the plugin settings at:

`https://example.com/wordpress/wp-admin/options-general.php?page=disable-gutenberg`

So if you hide the plugin's menu item, you always can access the settings directly.


**More Tools**

The settings include a "More Tools" link. Clicking it toggles open some advanced options:

* Classic Widgets - Restores Classic Widgets
* Disable Nag - Disables "Try Gutenberg" nag
* Enable Frontend - Enables frontend block stylesheet
* Whitelist Options - Displays the whitelist settings
* Plugin Menu Item - Hides the Disable Gutenberg menu item
* Gutenberg Menu Item - Hides the Gutenberg plugin menu item (for WP less than 5.0)
* Display Edit Links - Displays "Add New (Classic)" menu links and Classic/Block edit links
* ACF Support - Enables the Custom Fields Meta Box (ACF plugin disables by default)
* Reset Options - Restores the default plugin options

If there are any questions about these items or anything else, feel free to [contact me directly](https://plugin-planet.com/support/#contact) or post in the [WP Support Forums](https://wordpress.org/support/plugin/disable-gutenberg/).


**Uninstalling**

This plugin cleans up after itself. All plugin settings will be removed from the WordPress database when the plugin is deleted via the WP Plugins screen.


**Going Further**

For developers wanting to customize further, check out:

* [How to Disable Gutenberg: Complete Guide](https://digwp.com/2018/04/how-to-disable-gutenberg/)
* [How to Selectively Enable Gutenberg Block Editor](https://digwp.com/2018/12/enable-gutenberg-block-editor/)


**Show Support**

I strive to make this free plugin the very best possible. To show support, please take a moment to leave a [5-star review](https://wordpress.org/support/plugin/disable-gutenberg/reviews/?rate=5#new-post) at WordPress.org. Your generous feedback helps to further growth and development of Disable Gutenberg. Thank you!



== Upgrade Notice ==

Visit the WordPress Plugins screen, locate the plugin, and click "Update" :)

__Note:__ Deleting this plugin via the WordPress Plugins screen will remove all of its settings from the WordPress database.



== Frequently Asked Questions ==

**Will this work without Gutenberg?**

Yes. When Gutenberg is active, the plugin disables it (depending on your selected options) and replaces with the Classic Editor. Otherwise, if Gutenberg is not active (like with older versions of WordPress), the plugin does nothing. So it is safe to activate on any WordPress site.


**What's the difference between Classic Editor plugin?**

Classic Editor plugin enables you to disable Gutenberg across the board, and replace it with the Classic Editor. The Disable Gutenberg plugin does the exact same thing, in the exact same way, BUT it also provides more granular control over when and where Gutenberg is replaced with the Classic Editor. Disable Gutenberg plugin makes it easy to replace Gutenberg everywhere, OR you can choose to replace only for specific post types, user roles, post IDs, theme template, and more. Check out the list of features and compare them to the alternatives. It's not even close! ;)

__Bottom line:__ both Disable Gutenberg and Classic Editor plugins are lightweight and enable you to replace Gutenberg with the Classic Editor for the entire site. The difference is that Disable Gutenberg also gives you advanced configuration options such as restoring Classic Widgets, controlling block styles, and allowing block editor on certain pages, post types, and so forth.


**Can I use this plugin and Classic Editor at the same time?**

Yes, if both plugins are active at the same time, Disable Gutenberg gives priority to Classic Editor plugin. So if you want to use Disable Gutenberg, deactivate the Classic Editor plugin (you do not have to remove it, just deactivate via the WP Plugins screen).


**Classic Editor planned to expire in 2022, what about Disable Gutenberg?**

I can't make any promises, but I intend to develop with WordPress for the long-haul. Who knows what the future holds, but the plan is to keep Disable Gutenberg going for many years to come. Why? Because the original RTE/Visual Editor is awesome. I strongly feel it's one of the many reasons why WordPress has enjoyed its great success. I've been using the original/classic editor for over 10 years now and it's always been 100% smooth experience. I've tried Gutenberg, and yes it is much better now than in previous versions, but for me it's just not as comfortable or streamlined as the classic editor. So yeah, will do everything possible to keep Disable Gutenberg (and the Classic Editor) going well beyond 2022.


**Why does Classic Editor plugin have way more users?**

Because it is being promoted by the Gutenberg developers and the "official" plugin for replacing Gutenberg. That's fine, but understand that Disable Gutenberg functions the same way AND provides way more features and settings. FWIW, I use Disable Gutenberg on my own sites Perishable Press, DigWP.com, Plugin Planet, and many others. 100% solid.


**Template exclusions not working?**

In order for template exclusions to work, the template must be registered with the page itself. The only way to do this is via the "Edit Page" screen, in the "Page Attributes" meta box. There you will find an option to set the page template. Remember to save your changes.

After assigning some templates, they will be recognized by Disable Gutenberg. So to disable Gutenberg on any registered template, you can add them via the plugin setting, "Disable for Templates". Examples:

* Template name is `page-custom.php`, located in the root theme directory: enter `page-custom.php` in the Template Exclusion setting
* Template name is `page-custom.php`, located in a subdirectory named `templates`: enter `templates/page-custom.php`


**How to disable default Gutenberg frontend styles?**

The default Gutenberg/Block styles are disabled by default when DG plugin is active. To enable/disable the styles, visit the plugin setting, "Enable Frontend".


**Does this work with full site editing and block themes?**

No, because block themes rely on blocks. [See Block themes article](https://wordpress.org/documentation/article/block-themes/) for more information.


**What does the setting "Display Edit Links" do?**

When "Display Edit Links" is enabled in the plugin settings:

* On Post, Page, and Custom Post Type __menus__ (in the sidebar), a link is displayed that says "Add New (Classic)". Clicking the link takes the user to the "Add New" screen with the Classic Editor enabled.
* On Posts, Pages, and Custom Post Types __screens__ (where lists of posts are displayed), two links are added beneath each post. The first link says "Classic Edit" and takes the user to the "Edit" screen with the Classic Editor enabled. The second link says "Block Edit" and takes the user to the Edit screen with the Block Editor enabled.

__Note__ that these links display only on pages where the Block Editor is enabled. So for example, if Gutenberg is disabled sitewide, none of the links will display anywhere. If disabled only on Pages, then the links will not display on the Pages menu or on the Pages screen.


**Got a question?**

Send any questions or feedback via my [contact form](https://plugin-planet.com/support/#contact)



== Changelog ==

Thank you to everyone for using Disable Gutenberg and for all the [awesome 5-star reviews](https://wordpress.org/support/plugin/disable-gutenberg/reviews/)!

If you have any feedback or suggestions to make this plugin the absolute best it can be, and/or would like to help with development, please reach me via the [contact form](https://plugin-planet.com/support/#contact) at Plugin Planet.


**3.3.1 (2026/04/17)**

* Fixes bug with reset options
* Updates plugin settings page
* Improves readme.txt documentation
* Tests on WordPress 7.0


Full changelog @ [https://plugin-planet.com/wp/changelog/disable-gutenberg.txt](https://plugin-planet.com/wp/changelog/disable-gutenberg.txt)
