• Resolved Themico

    (@themico)


    Hello,

    thank you for your plugin, its great.

    I’m using is_active_sidebar(), and if the sidebar is empty (shop sidebar for example), then I’m not displaying sidebar column at all. But if I replace it with WooSidebars sidebar, then if is still not displayed, as the replaced sidebar is still empty.

    If there any way to solve this situation so the replaced sidebar will be displayed even if initial sidebar is empty?

    Thank you.

    https://ww.wp.xz.cn/plugins/woosidebars/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Themico

    (@themico)

    or a way to get the replacing sidebar name, so I can check it too?

    Plugin Contributor Matt Cohen

    (@mattyza)

    Hi there,

    Thanks for your query.

    By the time is_active_sidebar is available, the sidebars have already been replaced.

    Does your replacement widget area contain widgets?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘is_active_sidebar compatibility’ is closed to new replies.