Home Experience & Tips Sharing Standard Post

Standard Post

Solution for Widgets Not Working After Upgrading to WordPress 5.8

After the WordPress 5.8 update, the default backend widgets use the Gutenberg editor for management. Some older themes may have compatibility issues, causing the widget settings page to not load or show a white screen. To solve this, you can switch widgets back to classic mode. WordPress officially released the Clas...

Published on July 23, 2021 About 2 minutes read

After the WordPress 5.8 update, the default backend widgets use the Gutenberg editor for management. Some older themes may have compatibility issues, causing the widget settings page to not load or show a white screen.

To solve this, you can switch widgets back to classic mode. WordPress officially released the Classic Widgets plugin; just install and activate it.

Plugin Download

If you don't want to use a plugin, you can also directly copy the code below and add it to the theme's functions file.

// Disables the block editor from managing widgets in the Gutenberg plugin.
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false' );
// Disables the block editor from managing widgets.
add_filter( 'use_widgets_block_editor', '__return_false' );

Description

Classic Widgets is an official plugin maintained by the WordPress team to restore the previous („classic”) WordPress widgets settings screen. It will be supported and maintained at least until 2022.

After activation, this plugin restores the previous widgets settings screen and disables the block editor for managing widgets. There is no other configuration; enable or disable the classic widgets settings screen by enabling or disabling this plugin.

Related articles:

5/5 - (1 vote)
Previous Method to Add a Payment Success Notification Page for WooCommerce Continue reading content around the same timeline. Next Restore WooCommerce PayPal Standard Payment Gateway View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: