-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsidebar-footer.php
49 lines (48 loc) · 1.53 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* The Sidebar containing the footer widget areas.
*
* @package ThemeGrill
* @subpackage ColorNews
* @since ColorNews 1.0
*/
/**
* The footer widget area is triggered if any of the areas
* have widgets. So let's check that first.
*
* If none of the sidebars have widgets, then let's bail early.
*/
if( !is_active_sidebar( 'colornews_footer_sidebar_one' ) &&
!is_active_sidebar( 'colornews_footer_sidebar_two' ) &&
!is_active_sidebar( 'colornews_footer_sidebar_three' ) ) {
return;
}
?>
<div id="top-footer">
<div class="tg-container">
<div class="tg-inner-wrap">
<div class="top-footer-content-wrapper">
<div class="tg-column-wrapper">
<div class="tg-footer-column-3">
<?php
if ( !dynamic_sidebar( 'colornews_footer_sidebar_one' ) ):
endif;
?>
</div>
<div class="tg-footer-column-3">
<?php
if ( !dynamic_sidebar( 'colornews_footer_sidebar_two' ) ):
endif;
?>
</div>
<div class="tg-footer-column-3">
<?php
if ( !dynamic_sidebar( 'colornews_footer_sidebar_three' ) ):
endif;
?>
</div>
</div><!-- .tg-column-wrapper end -->
</div><!-- .top-footer-content-wrapper end -->
</div><!-- .tg-inner-wrap end -->
</div><!-- .tg-container end -->
</div><!-- .top-footer end -->