-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
77 lines (48 loc) · 1.69 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package understrap
*/
$the_theme = wp_get_theme();
$container = get_theme_mod( 'understrap_container_type' );
?>
<div id="js-heightControl" style="height: 0;"> </div>
<?php if ( is_active_sidebar( 'footer_1') || is_active_sidebar( 'footer_2') || is_active_sidebar( 'footer_3') || is_active_sidebar( 'footer_4') ) { ?>
<div class="wrapper" id="wrapper-footer">
<div class="<?php echo esc_html( $container ); ?>">
<div id = "footerWidgets" class = "row">
<div class = "col-lg-3 col-sm-12">
<?php dynamic_sidebar('footer_1'); ?>
</div>
<div class = "col-lg-3 col-sm-12">
<?php dynamic_sidebar('footer_2'); ?>
</div>
<div class = "col-lg-3 col-sm-12">
<?php dynamic_sidebar('footer_3'); ?>
</div>
<div class = "col-lg-3 col-sm-12">
<?php dynamic_sidebar('footer_4'); ?>
</div>
</div><!-- #footerWidgets -->
</div><!-- .container -->
<?php } ?>
<div id = "bottomFooter" class = "container-fluid">
<div class="row">
<div class="col-md-12">
<footer class="site-footer text-center" id="colophon">
<div class="site-info">
<span>© <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?></span><br />
<span>Website by <a href = "http://www.designs4theweb.com">Designs 4 The Web</a></span>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!--col end -->
</div><!-- row end -->
</div><!-- .container-fluid -->
</div><!-- wrapper end -->
</div><!-- #page-wrapper -->
<?php wp_footer(); ?>
</body>
</html>