NB: Make sure you do a back up of your theme, files and database before attempting the tutorials


---- Last modified : 11 August 2021

Since version 5.0, WordPress has implemented a new visual CMS tool called Gutenberg.

Given that a lot of WordPress users have been using custom CMS plugins, using Gutenberg can cause multiple problems and headaches for users who have been using WordPress with their custom tools for years. Also some users might find it more cumbersome and complicated to use; especially when used with a different method for quite some time.

The filters below will allow you to easily disable Gutenberg and keep working like you’ve been for the last few years.

Disable Content Manager - Gutenberg

////////////////////////Disable Gutenberg ///////////////////////
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);

Disable Widgets Manager - Gutenberg

////////////////////// Disable Widgets Manager - Gutenberg
if ( ! function_exists( 'viamulti_activate_classic_widgets' ) ) :
function viamulti_activate_classic_widgets() {
    remove_theme_support( 'widgets-block-editor' );
add_action( 'after_setup_theme', 'viamulti_activate_classic_widgets' );

1 thought on “How to Disable Gutenberg

  1. Tһat is reɑlly interesting, You are an oveгly profеѕsional blogger.
    I havе joined your feed and look forward to searching for eхtra of үour fantastic post.
    Additionally, I’ve shared ʏour ѡeb site in my social netѡorks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>