-
Notifications
You must be signed in to change notification settings - Fork 1
/
sidebar-footer.php
41 lines (35 loc) · 1.13 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
<?php
/**
* The Footer widget area.
*
* @package WordPress
* @subpackage Pohutukawa
* @since Pohutukawa 1.0
*/
?>
<?php
if ( ! is_active_sidebar( 'widget-area-footer-1' )
&& ! is_active_sidebar( 'widget-area-footer-2' )
&& ! is_active_sidebar( 'widget-area-footer-3' )
)
return;
?>
<div id="footer-widgets-wrap">
<div id="footer-widget-area">
<?php if ( is_active_sidebar( 'widget-area-footer-1' ) ) : ?>
<div class="widget-area-footer-1">
<?php dynamic_sidebar( 'widget-area-footer-1' ); ?>
</div><!-- end .widget-area-footer-1 -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'widget-area-footer-2' ) ) : ?>
<div class="widget-area-footer-2">
<?php dynamic_sidebar( 'widget-area-footer-2' ); ?>
</div><!-- end .widget-area-footer-2 -->
<?php endif; ?>
<?php if ( is_active_sidebar( 'widget-area-footer-3' ) ) : ?>
<div class="widget-area-footer-3">
<?php dynamic_sidebar( 'widget-area-footer-3' ); ?>
</div><!-- end .widget-area-footer-3 -->
<?php endif; ?>
</div><!-- end #footer-widget-area -->
</div><!-- end #footer-widgets-wrap -->