-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
43 lines (24 loc) · 901 Bytes
/
sidebar.php
File metadata and controls
43 lines (24 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php if (
is_active_sidebar( 'footer-a' ) ||
is_active_sidebar( 'footer-b' ) ||
is_active_sidebar( 'footer-c' )
) : ?>
<div class="widget-area">
<?php if ( is_active_sidebar( 'footer-a' ) ) : ?>
<div class="column column-1 one-third" role="complementary">
<?php dynamic_sidebar( 'footer-a' ); ?>
</div><!-- /column-1 -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-b' ) ) : ?>
<div class="column column-2 one-third" role="complementary">
<?php dynamic_sidebar( 'footer-b' ); ?>
</div><!-- /column-1 -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer-c' ) ) : ?>
<div class="column column-3 one-third" role="complementary">
<?php dynamic_sidebar( 'footer-c' ); ?>
</div><!-- /column-1 -->
<?php endif; ?>
<div class="clear"></div>
</div> <!-- /widget-area -->
<?php endif; ?>