How to fix breaking sidebar by eventon widget
Last updated: 7 years ago
Does your website sidebar breaks after adding eventON widget? Does all the widgets after eventON widget shows 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 make sure those injections through hooks are not added to eventON widget.