WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
[resolved] is_active_sidebar isn't working (2 posts)

  1. bristweb
    Member
    Posted 3 years ago #

    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:

    unregister_sidebar_widget($widget_id);

    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.

  2. bristweb
    Member
    Posted 3 years ago #

    ah the answer is here

    why isn't this update committed to the plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic