// 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' );
Solutions for Widgets Not Working After Upgrading to WordPress 5.8
After the WordPress 5.8 update, the default Widgets in the Admin Dashboard use the Gutenberg Editor for management. Some older themes may have compatibility issues, causing the page to fail to open or display a white screen when setting up Widgets. To solve this problem, we can switch Widgets back to classic mode. WordPress officially released the Classic Widgets plugin specifically for this purpose. You only need to install and activate it.Plugin DownloadIf you don't want to use a plugin, you can directly copy the code below and add it to the theme's functions file, then save it.
🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.
「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.
👉 Learn about Website Building Coaching Service
Comments are closed
The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.