Support » Plugin: Widget Logic » is_active_sidebar isn't working

  • Resolved bristweb


    i have one widget in the sidebar and the widget logic is set to !is_home()

    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.

    essentially 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘is_active_sidebar isn't working’ is closed to new replies.