-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter-widget.php
50 lines (38 loc) · 1.37 KB
/
footer-widget.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
<?php
$showfooterwidget = get_option('mpt_enable_footer_widget');
?>
<?php if ($showfooterwidget == 'true') { ?>
<!-- Footer Widget -->
<div id="footer-widget">
<div class="footer-widget-top"></div>
<div class="outercontainer">
<div class="container">
<div class="clear padding30"></div>
<div class="row-fluid">
<!-- start 1st footer widget -->
<div class="span<?php mpt_footer_widget_setting_1(); ?>">
<?php if ( is_active_sidebar( 'footer-one' ) ) : ?>
<?php dynamic_sidebar( 'footer-one' ); ?>
<?php endif; ?>
</div>
<!-- end 1st footer widget -->
<!-- start 2nd footer widget -->
<div class="span<?php mpt_footer_widget_setting_2(); ?>">
<?php if ( is_active_sidebar( 'footer-two' ) ) : ?>
<?php dynamic_sidebar( 'footer-two' ); ?>
<?php endif; ?>
</div>
<!-- end 2nd footer widget -->
<!-- start 3rd footer widget -->
<div class="span<?php mpt_footer_widget_setting_3(); ?>">
<?php if ( is_active_sidebar( 'footer-three' ) ) : ?>
<?php dynamic_sidebar( 'footer-three' ); ?>
<?php endif; ?>
</div>
<!-- end 3rd footer widget -->
</div>
<div class="clear padding30"></div>
</div><!-- / container -->
</div><!-- / outercontainer -->
</div><!-- / content-section -->
<?php } ?>