How to fix breaking sidebar by eventon widget
October 18, 2021
Does your website sidebar break after adding an EventON widget? Do all the widgets that appear after the EventON widget show elsewhere? If any of the above things happen for you please try the below fix.
Open function.php file from wp-content/themes/– your active theme folder
Paste the below code anywhere in the functions.php (top part of the file would be better so you might not break any other functions)
Reason for this happening
Some themes, as we have found out, try to hook into either only before or only after the widget actions. This breaks the HTML of the front-end widget. So the above code makes sure those injections through hooks are not added to EventON widget.