How to Disable Gutenberg Widget Block Editor

  • Updated
  • 3 mins read

How to Disable Gutenberg Widget Block Editor

In this post I will provide you with the code necessary to disable the Gutenburg Widget Block Editor. If you’re like the many thousands of bloggers out there, then you too prefer the Classic WordPress editor. Below is the code required to restore your widget area back to the classic editor.


All code snippets found on this page are “as-is” and are to be used at your own risk. Depending on your website or theme, disabling any of the functionality listed below could render your website inoperable. Our recommendation is to create a clone or staging website to test the implementation before enabling on your live running website. TFG Media Company nor its affiliates assume any liability for your use of these code snippets. USE AT YOUR OWN RISK!

Anytime your are adding or modifying php or javascript code on your website, caution must be used. For this reason, we felt it prudent to create a video that walks you through the exact steps. Please review our YouTube video below prior to attempting this modification to your website.

The code used to restore the classic widget editor can be found below.

Code to Disable Gutenberg Widget Block Editor

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

Hopefully this little tweak worked for you. If so, be sure to leave a comment below!

What is Gutenberg?

Gutenberg is the shiny new editor for the WordPress stage. It will fundamentally change the manner in which you make posts, pages, items, and pretty much all the other things on your site. Gutenberg showed up as a feature of WordPress 5.0, which was delivered in November 27, 2018. Hence, find a workable pace now.

The Pros and Cons of Gutenberg?

On the off chance that you’ve heard anything about Gutenberg prior to perusing this article, you might understand it’s a dubious change. There are a lot of WordPress clients who believe it’s a promising and important turn of events, and similarly as many who’d favor it didn’t exist.

The discussion over Gutenberg is perplexing, and individuals have their own interesting explanations behind supporting or contending against it. Nonetheless, we should summarize a couple of the likely upsides and downsides.

Gutenberg Block Editor Pros

  • Supposed to make the content creation process more streamlined and intuitive.
  • A more visual way to see your content during the development process. More in-line with the final product.
  • Eliminates the need for many third-party plugins and short-codes.
  • Provides more options for customizations.

Gutenberg Block Editor Cons

  • Steeper learning curve to get going with the Gutenberg Block Editor interface.
  • Not all themes support Gutenberg blocks. Conflicts can arise with themes, plugins, etc.
  • Eliminates the need for many third-party plugins and short-codes.
  • WordPress developers seem to insist on making it a core part of the environment. This forces users to find ways to disable. Should be an option that is easily enabled or disabled depending on user preference.

Leave a Reply