How to Disable WordPress Block Widgets and Use Classic Widgets Again | Cheema Developers Blog


Fighting tips on how to disable WordPress block widgets?

In WordPress 5.8 (launched in July 2021), WordPress eradicated the traditional widget system and changed it with a brand new block-based system the place you utilize Gutenberg blocks to regulate your widget areas as a substitute of widgets.

Whereas the brand new block-based widget editor does offer you entry to lots of the identical performance because the older widget system, you may need a state of affairs the place you’re higher off if you happen to disable WordPress block widgets. Or, it would simply be private choice.

Fortunately, it’s very straightforward to disable WordPress block widgets. And on this put up, we’ll present you precisely tips on how to do it utilizing easy, free options.

We’ll present you two free plugins that make it tremendous straightforward to return to the basic widgets. Then, we’ll additionally share a easy code snippet you could add to your web site if you wish to skip the plugin route.

Let’s leap in!

The strategies for tips on how to disable WordPress block widgets

Beneath, we’ll share a number of free strategies to disable WordPress block widgets. For those who’re unsure which to decide on, we suggest simply utilizing the primary choice on our record.

Basic Widgets plugin

The Basic Widgets plugin comes instantly from the WordPress contributor staff, identical to the favored Classic Editor plugin that allows you to disable the block editor.

This plugin has no settings. Simply set up and activate the free plugin from WordPress.org and your web site will immediately return to utilizing the basic widget system.

For those who ever wish to begin utilizing block widgets once more, you simply must deactivate the plugin and your web site will return to utilizing the brand new widget system.

Disable Gutenberg plugin

Because the identify suggests, the Disable Gutenberg plugin permits you to disable all traces of the Gutenberg block editor in your web site, together with each the content material editor and the block-based widgets.

When you activate it, go to Settings → Gutenberg and examine the field to make use of Basic Widgets:

How to disable WordPress block widgets

Once more, the important thing distinction between this plugin and the Basic Widgets plugin above is that this plugin fully disables the block editor, whereas the Basic Widgets plugin solely disables it for widgets.

Guide code snippet

For those who don’t wish to set up one more plugin in your web site, it’s additionally straightforward to disable block widgets utilizing only a easy code snippet. You’ll wish to add this code snippet to your child theme’s capabilities.php file or a plugin resembling Code Snippets:

perform example_theme_support() 
    remove_theme_support( 'widgets-block-editor' );

add_action( 'after_setup_theme', 'example_theme_support' );

Disable WordPress block widgets right now

For those who favor the basic WordPress widget system to the brand new block-based widget editor, WordPress fortunately makes it tremendous straightforward to disable block widgets.

The best choice is to simply set up and activate the Basic Widgets plugin. There’s nothing to configure – simply activate the plugin and also you’ll immediately return to utilizing the basic widget system.

Or, you may as well simply use the code snippet above and name it a day.

When you’re again to utilizing the basic widget system, you possibly can try our assortment of the 10 best free WordPress widgets to enhance your widget areas. Or, we even have a information on tips on how to create a custom sidebar you could fill with widgets.

Do you have got any questions on disabling the block widgets in WordPress 5.8? Tell us within the feedback!

Free information

5 Important Tricks to Pace Up
Your WordPress Web site

Scale back your loading time by even 50-80%
simply by following easy ideas.



#Disable #WordPress #Block #Widgets #Basic #Widgets