How to Disable Widget Blocks in WordPress?


Do you want to learn the way to disable widget blocks in WordPress?

The new version of WordPress 5.8 has featured some new specialties in the WordPress block editor. Additionally, it has excluded the traditional classic widgets editor in favor of the Gutenberg widget block editor to increase control of the website widget areas. 

However, if you are willing to restore the classic widget editor then you have visited the correct article. In this article, we will mention the two easiest ways to disable widget blocks in WordPress using plugin and code methods.

Reason to Disable Widget Blocks

Although the block editor offers a lot of different modern functions to the users, it also offers some similar functions as that of the classic widgets. You might have noticed that WordPress is handy when we are using the classic widget editor in your WordPress website.  

In spite of the additional functionality to ease the task of the user and allow them to have more control over the appearance of the widget areas. The users are seeking ways to restore the classic widgets. The reason behind this is it is simple and comfortable.

Luckily, there are different easy ways to disable widgets blocks. Here are the two ways:

Different ways to Disable Widget Blocks

1. Using a Plugin

Surely, the use of the plugin is quite famous among WordPress users and is widely recommended for all beginners to tackle the problem. Here we are using the Classic Widgets plugin.

The steps are mentioned below:

  • After activation, all your WordPress blogs will return back to the classic widget editor. Therefore, you don’t need to configure the setting. 
  • Now, you can go to Appearance >> Widgets in the WordPress admin panel in order to add the new widgets.
  • All you need to do is drag a widget to the available widget area. Customize the setting.
  • Lastly, make sure you click on the “Save” button.

Hence, in this way you have successfully disabled the widget blocks in WordPress.

Note: You can again use the widgets block at any time by deactivating the plugin. 

2. Using a Code 

This method is for the user you do not want to use the plugin. Generally, this is the advanced method used by the experts. Even if this is your first try, do visit our article “How to Easily Add Custom Code in WordPress?”.

The process is simple, all you need to do is add the code to the function.php file, in a site-specific plugin, or by using a code snippet plugin. The code is mentioned below:

function example_theme_support() {

    remove_theme_support( ‘widgets-block-editor’ );


add_action( ‘after_setup_theme’, ‘example_theme_support’ );

The codes disable the Gutenberg block editor only in your widget area, the rest of the pages and posts are in the block editor. Like in the previous method, you can navigate to the Appearance >> Widgets in the WordPress admin panel and add the widgets using the classic editor. 

Thus, you have successfully disabled the widget blocks in WordPress using a code.

Wrapping up

Lastly, we hope this article was helpful for you to disable widgets blocks in WordPress. The user can work with any block editor they want with the help of this article and enjoy working with WordPress. Also, you can visit our other article “How to use Gutenberg block editor in WordPress?” for more knowledge about block editors. 


Please enter your comment!
Please enter your name here