get_sidebar() outputs template markup even if all blocks are hidden
-
when using this to control sidebar blocks, if all the blocks in the sidebar are hidden for a page, the sidebar.php template is still output on the page,
it appears that is_active_sidebar( ‘sidebar-1’ ) is still returning true, when it should return false.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_sidebar() outputs template markup even if all blocks are hidden’ is closed to new replies.