Home » Blog » deactivate new widget block editor WordPress

deactivate new widget block editor WordPress

If you have update WordPress to the last version and noticed the new Gutenberg style widget edit please add the following to you theme’s functions.php files to disable it.

We understand why the team at WordPress are looking to improve the ability to easily edit the backend of WordPress but it’s driving us, developers, crazy by making it harder to customise after developing on WordPress for over a decade. Also clients being confused as to why its there and needing it reverting back due to it not being easier for them.

 

To deactivate new widget block editor WordPress please insert the following


// deactivate new block editor
function phi_theme_support() {
remove_theme_support( 'widgets-block-editor' );
}
add_action( 'after_setup_theme', 'phi_theme_support' );