-
Notifications
You must be signed in to change notification settings - Fork 39
/
sidebar.php
55 lines (40 loc) · 973 Bytes
/
sidebar.php
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
44
45
46
47
48
49
50
51
52
53
54
55
<?php
/**
* Sidebar Template
*
* @link http://codex.wordpress.org/Template_Hierarchy
*
* @package Scaffolding
*/
if ( is_active_sidebar( 'footer-area-one' ) || is_active_sidebar( 'footer-area-two' ) || is_active_sidebar( 'footer-area-three' ) ) :
?>
<div id="footer-widgets" class="container py-4">
<div class="row footer-widgets__row">
<?php
if ( is_active_sidebar( 'footer-area-one' ) ) :
?>
<div class="footer-widgets__col col-md">
<?php dynamic_sidebar( 'footer-area-one' ); ?>
</div>
<?php
endif;
if ( is_active_sidebar( 'footer-area-two' ) ) :
?>
<div class="footer-widgets__col col-md">
<?php dynamic_sidebar( 'footer-area-two' ); ?>
</div>
<?php
endif;
if ( is_active_sidebar( 'footer-area-three' ) ) :
?>
<div class="footer-widgets__col col-md">
<?php dynamic_sidebar( 'footer-area-three' ); ?>
</div>
<?php
endif;
?>
</div>
</div>
<?php
endif;
?>