Holt DevOps News

deactivate new widget block editor WordPress

News Categories: eCommerce SoftwareHolt DevOps NewsWordpress

This article was published on: 07/31/21 8:58 AM

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' );

This is an epic footer, don't you think?

We’re Hardcore Experts in Cutting-edge Design & Development Technologies - Worldwide accreditation from leading digital platform providers

Web Development Agency Manchester

The Barn
Woolden Road
Manchester
M44 5JX


Stalk Us On Social

Web Development Agency London

71-75 Shelton Street
Covent Garden
London
WC2H 9JQ


Let's hook up

hello@holtdevops.com

0161 676 8989

Copyright 2021 Holt DevOps Ltd - White Label Web Development Digital Agency | 13127888 Registered in England and Wales | Privacy Policy

Ready to work with us?

Drop us your details and we will arrange a social distanced meet & greet or video chat so you can see our beautiful faces.

    Name*

    Email*

    Telephone