2 Ways to Disable Widget Blocks in WordPress [2022]

disable widget blocks in wordpress

In this guide, I will show you how to disable widget blocks in WordPress step-by-step. If you want to restore the classic widget editor to WordPress, The release of WordPress 5.8 removed the classic widget editor and the Gutenberg widget block editor to control the widget areas of your website.

Why Should You Restore Classic Widgets in WordPress?

The widget block editor offers many of the same functionality as the classic widget editor. Also, it gives you more control over the appearance of your widgets.

However, if you have been using WordPress for a while, you may be more comfortable using the classic widget editor on your WordPress website.

Or, you enjoy the simplicity of the classic widget editor and want to disable widget blocks, such as how some users choose to disable the block editor.

With that said, let’s take a look at how to restore the classic widget editor to WordPress. Just use the quick links below to skip straight to the path you want to use.

Method 1. Restore Classic Widgets Via Using WordPress Plugin

An easy way to restore the classic widget editor is to use the Classic Widgets plugin. This plugin is developed and maintained by the WordPress core team.

The first step is to install and activate the plugin.

Upon activation, your WordPress blog will revert to the classic widget editor. There are no settings to set.

Now, you can navigate to Widgets > Add New in your WordPress admin panel to go to the widget dashboard.

how to disable widget blocks in wordpress

To add new widgets, simply drag the widget to the available widget area.

Then, you can customize the widget settings. Make sure to click the “Save” button to save your widget.

restore classic widgets

If you want to use the widget blocks at any time in the future, just simply deactivate the plugin.

Method 2. Method 2: Restore Classic Widgets in WordPress by Adding Code

Another way to disable widget blocks is by adding code to WordPress. If you’ve never done it before.

Next, you need to add the following code snippets to your functions.php file, to the site-specific plugin, or by using the code snippet plugin.

function example_theme_support() {
remove_theme_support( ‘widgets-block-editor’ );
}
add_action( ‘after_setup_theme’, ‘example_theme_support’ );

The code snippets above simply disable the Gutenberg block editor in your widget area. However, it keeps the block editor on your pages and posts.

Now, if you go to Widgets > Add New, you can add widgets using the classic editor.

disable widget blocks

I hope this article helped you learn how to disable widget blocks and restore classic widgets to WordPress. If you have any questions or queries about this article, please comment below, and we’ll get back to you. Check more daily updates to subscribe to our Website and get informational articles and much more, etc.

LEAVE A REPLY

Please enter your comment!
Please enter your name here