Hi there,
I've a problem editing the widgets. I always get exceptions like this:
I'm not able to edit the widget anymore.
The widgets should look like this:
I'm using WordPress 5.8.1
How can I solve the problem?
Many thx, Johnny.
Hi johnny-o, At the moment, some of the GK widget are not compatible with widget block layout, you should use use_widgets_block_editor filter to disable it. You can place the following code in your theme functions.php file.
add_filter( 'use_widgets_block_editor', '__return_false' ); Hope this help!
add_filter( 'use_widgets_block_editor', '__return_false' );
dominic
Hi Dominic, thx for your reply. I'll try it next week and let you know, whether it worked or not.
Is it the wp-content/themes/Msocial/functions.php - file? Where do I have to add the line, at the end of the file? Or doesn't it matter?
Thx, Johnny
Hi johnny-o,
Yes, you can add the code in the end of this file: wp-content/themes/Msocial/functions.php
Hi dominic ,
thx for your help, it worked 🙂
Can I remove this line in functions.php with the next version of the theme? ... or doesn't it matter to leave it there?
Yes, It doesn't it matter to leave it there.