-
Notifications
You must be signed in to change notification settings - Fork 4
/
sidebar.php
19 lines (19 loc) · 791 Bytes
/
sidebar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php if ( is_active_sidebar( 'sidebar-1' ) || is_active_sidebar( 'sidebar-2' ) || is_active_sidebar( 'sidebar-3' ) ) : ?>
<div id="footer-widget" class="widget-area" role="complementary">
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="footer-widget-first">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #footer-widget-first -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
<div id="footer-widget-second">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div><!-- #footer-widget-second -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?>
<div id="footer-widget-third">
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</div><!-- #footer-widget-third -->
<?php endif; ?>
</div><!-- #footer-widget -->
<?php endif; ?>