i have one widget in the sidebar and the widget logic is set to
when i go to the home page the widget does not show. however the area where the widget lives still shows… and i need it to collapse.
is_active_sidebar('example-sidebar')returns true even though widget logic should make it return false.
this problem does not happen with widget context. i noticed that their code has this:
i’m not sure if that is the missing piece… i can’t seem to find how to update the system so that is_active_sidebar function will return false when widgetlogic has caused no widgets to show.
- The topic ‘is_active_sidebar isn't working’ is closed to new replies.