Tagged: widget area
Dear Enfold experts,
My widget area all over a sudden looks totally different. It seems to be broken.
You can see the image here: https://www.dropbox.com/s/12q9ucku5fb6ltb/Widget%20area%20looking%20strange.jpg?dl=0
Any idea how I can fix this?
Kind regards from Amsterdam,
Janneke Tichelaar
Hey Janneke,
Please add this to your child theme functions.php file:
/**
* With WP 5.8 block editor was introduced to widget page. This is currently not supported by Enfold.
* Based on https://wordpress.org/plugins/classic-widgets/ we disable this feature.
*
* If you want to use the new widget page and use a child theme add in functions.php of the child theme:
*
* $avia_config['use_block_widget_page'] = true;
*
* @since 4.8.4.1
*/
if( ! isset( $avia_config['use_block_widget_page'] ) || $avia_config['use_block_widget_page'] !== true )
{
// 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' );
}
Or you could use this plugin: https://wordpress.org/plugins/classic-widgets/
Best regards,
Rikard
Hi Rikard,
thank you very much. It worked. I have my widgets back!
Kind regards,
Janneke
Hi,
Great, I’m glad that it’s back to normal again. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi Rikard,
You can close it.
Kind regards,
Janneke