// 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' );
Solution for Widgets Not Working After Upgrading to WordPress 5.8
After the WordPress 5.8 update, the default Widgets in the Admin Dashboard now use the Gutenberg editor for management. Some older themes may have compatibility issues, causing the page to not open or display a white screen when setting up Widgets. To solve this problem, we can switch the Widgets back to classic mode. WordPress has specifically released the Classic Widgets plugin for this purpose; you just need to install and activate it.Plugin DownloadIf 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.
🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.
「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.
👉 Learn about the 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.