Skip to content

Commit

Permalink
Hide empty sidebar message (sidebars: blog main shop)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomollet committed Sep 27, 2017
1 parent ffefbe0 commit 91b4a7b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sidebar-blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<?php if (is_active_sidebar('sidebar_blog')) : ?>
<?php dynamic_sidebar('sidebar_blog'); ?>
<?php else : ?>
<div class="alert alert-warning fade in">
<!--<div class="alert alert-warning fade in">
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Enable widgets in Sidebar Blog', 'stormbringer'); ?></p>
</div>
</div>-->
<?php endif; ?>
</div>
</aside>
4 changes: 2 additions & 2 deletions sidebar-home.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<?php if (is_active_sidebar('sidebar_home')) : ?>
<?php dynamic_sidebar('sidebar_home'); ?>
<?php else : ?>
<div class="alert alert-warning fade in">
<!--<div class="alert alert-warning fade in">
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Enable widgets in Sidebar Home', 'stormbringer'); ?></p>
</div>
</div>-->
<?php endif; ?>
</div>
</aside>
4 changes: 2 additions & 2 deletions sidebar-shop.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<?php if (is_active_sidebar('sidebar_shop')) : ?>
<?php dynamic_sidebar('sidebar_shop'); ?>
<?php else : ?>
<div class="alert alert-warning fade in">
<!--<div class="alert alert-warning fade in">
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Enable widgets in Sidebar Shop', 'stormbringer'); ?></p>
</div>
</div>-->
<?php endif; ?>
</div>
</aside>

0 comments on commit 91b4a7b

Please sign in to comment.