Wrong widget html code
-
Hi, a client of mine wanted to use this plugin so I had to fix it.
Your widget html code is badly written.
There’s a div on line 166 that should be outside of the if ( $options[‘esw_checkbox_logo’] == 1 ).
It breaks any sidebar.
Also, please research on how to properly encapsulate the widget. You’re supposed to read $args and wrap your code with before_widget and after_widget.
thanks,
p.
- The topic ‘Wrong widget html code’ is closed to new replies.