You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example: In the image below the widget- class increments when no widget is output. In this example, there were two BU Text widgets, the second widget was empty, but the widget count is still incremented.
See note on line 129-130
https://github.com/bu-ist/responsive-framework/blob/develop/inc/extras.php#L122-L185
How do we ensure, in a not-costly manner, that correct widget counts get output?
I foresee needing a helper function, to apply to multiple scenarios. An additional one is that the surrounding sidebar markup (
<aside>, <h2>, etc
) shouldn't get output when the only widgets in a sidebar are empty BU Text/Link widgets.https://github.com/bu-ist/responsive-framework/blob/5651b9f53293c3743186bb23e8c8be6120740123/sidebar.php
The text was updated successfully, but these errors were encountered: