Enable or disable Gutenberg editor for specific post types in WordPress. Perfect for sites where you want to use Classic Editor for selected content while keeping Gutenberg for others.
- Disable Gutenberg editor for selected post types
- Minimal performance impact
- Works seamlessly with custom post types
- WordPress 6.0 or higher
- PHP 7.4 or higher
-
Download the latest release or clone this repository:
git clone https://github.com/Open-WP-Club/disable-gutenberg-for-wp.git
-
Upload the
disable-gutenberg-for-wpfolder to your/wp-content/plugins/directory -
Activate the plugin through the 'Plugins' menu in WordPress
-
Navigate to Tools > Disable Gutenberg in the WordPress admin menu
- Download the plugin files
- Create a folder named
disable-gutenberg-for-wpin/wp-content/plugins/ - Upload all plugin files to this folder
- Activate the plugin via the 'Plugins' menu in WordPress
-
After activation, go to Tools > Disable Gutenberg in your WordPress admin menu
-
You'll see a list of all public post types on your site
-
Toggle the switch for any post type where you want to disable Gutenberg
-
Click Save Changes
-
The selected post types will now use the Classic Editor while others continue using Gutenberg
The plugin uses WordPress's built-in use_block_editor_for_post_type filter to selectively disable the block editor for chosen post types. This approach:
- Is officially supported by WordPress
- Works reliably across WordPress versions
- Doesn't require any theme modifications
- Is completely reversible
No, this plugin does not install the Classic Editor plugin. It simply disables Gutenberg for selected post types, which causes WordPress to fall back to the classic editing experience. For the full Classic Editor plugin experience, you may want to install the official Classic Editor plugin alongside this one.
Your existing content remains unchanged. If you later re-enable Gutenberg for a post type, all block content will work normally.
Yes! The plugin automatically detects all public post types, including custom ones registered by themes and plugins.
The Media (attachment) post type is excluded by default as it doesn't use the standard editor interface.
Yes, you can use the dgwp_disabled_post_types filter in your theme or custom plugin.
Yes, the plugin works on multisite installations. It needs to be activated per site, and each site can have its own configuration.
- WordPress 6.0+
- PHP 7.4+
- Multisite compatible
- Works with all themes
- Compatible with popular page builders
- Translation ready
Contributions are welcome! Please feel free to submit a Pull Request.