-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
76 lines (55 loc) · 1.83 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
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package Understrap
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
$container = get_theme_mod( 'understrap_container_type' );
?>
</div><!-- #page we need this extra closing tag here -->
<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?>
<div class="wrapper" id="wrapper-footer">
<div class="<?php echo esc_attr( $container ); ?>">
<div class="row">
<div class="col-md-3 pb-5" id="wrapper-footer-side">
<?php if ( is_active_sidebar( 'footer_side' ) ) : ?>
<?php dynamic_sidebar( 'footer_side' ); ?>
<?php endif; ?>
</div><!-- wrapper-footer-side end -->
<div class="col-md-9" id="wrapper-footer-main">
<div class="row pb-5">
<div class="col-md-12">
<?php if ( is_active_sidebar( 'footer_main_top' ) ) : ?>
<?php dynamic_sidebar( 'footer_main_top' ); ?>
<?php endif; ?>
</div>
</div>
<div class="row">
<div class="col-md-8">
<?php if ( is_active_sidebar( 'footer_main_bottom_main' ) ) : ?>
<?php dynamic_sidebar( 'footer_main_bottom_main' ); ?>
<?php endif; ?>
</div>
<div class="col-md-4">
<?php if ( is_active_sidebar( 'footer_main_bottom_side' ) ) : ?>
<?php dynamic_sidebar( 'footer_main_bottom_side' ); ?>
<?php endif; ?>
<footer class="site-footer" id="colophon">
<div class="site-info">
<?php understrap_site_info(); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div>
</div>
</div><!-- wrapper-footer-main end -->
</div><!-- row end -->
</div><!-- container end -->
</div><!-- wrapper end -->
<?php get_template_part( 'global-templates/navbar', 'topnav' ); ?>
<?php wp_footer(); ?>
</body>
</html>