in my theme, based on understrap, the sidebar widgets are putted in an aside block with before_widget and after_widget. If I use your wp bannerize pro as a widget it results in putting out that block two times.
If I comment out the ‘echo $before_widget;‘ and ‘echo $after_widget;‘ ‘in the resources/views/widgets/index.php it works.
Maybe there should be an option setting if this arguments should be used.
This topic was modified 8 years, 10 months ago by sledolter.
Hi, usually because the $before_widget and $after_widget are set up by the theme. They are valid for all your widgets. You may try to override the aside tag styles (with a display:block, for instance) for Bannerize.
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Two asides in the widget’ is closed to new replies.