I checked the theme and it has a default when no widgets are set in the ‘Appearance’ > ‘Widgets’ Primary/Secondary Widget Areas.
To remove this default go to:
– ‘Appearance’ > ‘Editor’
– On the right side you will see a list of different files.
– Click on ‘sidebar (sidebar.php)’
– Here you want to change the file to:
<?php /** * The Sidebar containing the primary and secondary widget areas. *
* @package Sliding_Door
* @since Sliding Door 1.0 */ ?>
<div id="sidebar1" class="widget-area" role="complementary"> <ul class="xoxo">
<?php /* When we call the dynamic_sidebar() function, it'll spit out * the widgets for that widget area. If it instead returns false, * then the sidebar simply doesn't exist, so we'll hard-code in * some default sidebar stuff just in case. */ if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : ?>
<?php endif; // end primary widget area ?> </ul> </div><!-- #primary .widget-area -->
<div id="sidebar2" class="widget-area" role="complementary"> <ul class="xoxo"> <?php if ( ! dynamic_sidebar( 'secondary-widget-area' ) ) : ?>
</ul> </li>
<?php endif; ?> </ul> </div><!-- #secondary .widget-area -->
Basically, we are removing the default li items. NOTE: this will leave an empty sidebar div and ul.