Closed ghost closed 11 years ago
Excellent! The solution works perfectly.
Hopefully it will be merged into the official release soon, I have a lot of clients who depend on Widget Context; a majority of them do their own updates, and without this fix, their sites will all have broken layouts.
Hiding by filtering widget_display_callback makes is_active_sidebar return TRUE on sidebars with only one widget which happen to be contextually hidden.
Unsetting the contextually hidden widget from the sidebar on the front end restores the desired behavior
Props to Widget Logic.