How to Disable Gutenberg Widget Block Editor

Do you want to disable the new widget block editor page of Gutenberg and brings back the old widgets page? Using a one of the code given below you can restore the previous widgets settings screens and disables the block editor from managing widgets. Add "Code 1" or "Code 2" into your theme's functions.php file:

Code 1:

// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 );

// Disables the block editor from managing widgets.
add_filter( 'use_widgets_block_editor', '__return_false' );

Code 2:

if ( ! function_exists( 'themesdna_activate_classic_widgets' ) ) :
function themesdna_activate_classic_widgets() {
    remove_theme_support( 'widgets-block-editor' );
}
endif;
add_action( 'after_setup_theme', 'themesdna_activate_classic_widgets' );

Don't forget to save the functions.php.


Alternative Method:
If you don't need to edit the functions.php file of your theme, install and activate this plugin and the old widgets page will be back: https://wordpress.org/plugins/classic-widgets/

Our WordPress Themes

Below are some of our premium WordPress themes. View all our free and premium WordPress themes →
NeatMag PRO WordPress Theme

NeatMag PRO

Do you like the NeatMag Free WordPress Theme?, Then you will love the premium version. NeatMag PRO is very user...

$25.00
GridBit PRO WordPress Theme

GridBit PRO

Are you looking for a feature-rich version of the GridBit Free WordPress Theme? Then you will fall in love with...

$25.00
CuteMag PRO WordPress Theme

CuteMag PRO

CuteMag PRO is an more improved and advanced version of CuteMag Free WordPress Theme. When compare with the CuteMag free...

$25.00
ElegantWP PRO WordPress Theme

ElegantWP PRO

If you like ElegantWP free WordPress Theme, you will love the premium version. ElegantWP PRO is very user friendly, feature-rich,...

$25.00
MagSoul PRO WordPress Theme

MagSoul PRO

$25.00
GridMini PRO WordPress Theme

GridMini PRO

Do you like the free version of the GridMini WordPress theme? But what if you need more features and options?...

$25.00
GalleryWP PRO WordPress Theme

GalleryWP PRO

If you like GalleryWP free WordPress Theme, you will love the premium version. GalleryWP PRO is an improved version of...

$25.00
GridShow PRO WordPress Theme

GridShow PRO

GridShow PRO WordPress theme is a feature-rich, advanced version of GridShow Free WordPress Theme. GridShow PRO version has color and...

$25.00

Can't you choose a single theme? Purchase All Themes for $75.

Save money with our low, one-time price for access to all of our 55 WordPress themes.