-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar-footer.php
38 lines (37 loc) · 993 Bytes
/
sidebar-footer.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
<?php
/**
* The sidebar containing the Footer widget area
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Dallas Lite
*/
if ( is_active_sidebar( 'bottom-a' ) || is_active_sidebar( 'bottom-b' ) || is_active_sidebar( 'bottom-c' ) || is_active_sidebar( 'bottom-d' ) ) {
// Create bottom postion of theme.?>
<section id="bottom-section">
<div class="container">
<div class="row">
<?php if ( is_active_sidebar( 'bottom-a' ) ) {
echo '<div class="col-md-3">';
dynamic_sidebar( 'bottom-a' );
echo '</div>';
}
if ( is_active_sidebar( 'bottom-b' ) ) {
echo '<div class="col-md-3">';
dynamic_sidebar( 'bottom-b' );
echo '</div>';
}
if ( is_active_sidebar( 'bottom-c' ) ) {
echo '<div class="col-md-3">';
dynamic_sidebar( 'bottom-c' );
echo '</div>';
}
if ( is_active_sidebar( 'bottom-d' ) ) {
echo '<div class="col-md-3">';
dynamic_sidebar( 'bottom-d' );
echo '</div>';
} ?>
</div>
</div>
</section>
<?php }