forked from bootscore/bootscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
104 lines (84 loc) · 2.57 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Bootscore
*
* @version 5.2.0.0
*/
?>
<footer>
<div class="bootscore-footer bg-light pt-5 pb-3">
<div class="container">
<!-- Top Footer Widget -->
<?php if (is_active_sidebar('top-footer')) : ?>
<div>
<?php dynamic_sidebar('top footer'); ?>
</div>
<?php endif; ?>
<div class="row">
<!-- Footer 1 Widget -->
<div class="col-md-6 col-lg-3">
<?php if (is_active_sidebar('footer-1')) : ?>
<div>
<?php dynamic_sidebar('footer-1'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer 2 Widget -->
<div class="col-md-6 col-lg-3">
<?php if (is_active_sidebar('footer-2')) : ?>
<div>
<?php dynamic_sidebar('footer-2'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer 3 Widget -->
<div class="col-md-6 col-lg-3">
<?php if (is_active_sidebar('footer-3')) : ?>
<div>
<?php dynamic_sidebar('footer-3'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer 4 Widget -->
<div class="col-md-6 col-lg-3">
<?php if (is_active_sidebar('footer-4')) : ?>
<div>
<?php dynamic_sidebar('footer-4'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer Widgets End -->
</div>
<!-- Bootstrap 5 Nav Walker Footer Menu -->
<?php
wp_nav_menu(array(
'theme_location' => 'footer-menu',
'container' => false,
'menu_class' => '',
'fallback_cb' => '__return_false',
'items_wrap' => '<ul id="footer-menu" class="nav %2$s">%3$s</ul>',
'depth' => 1,
'walker' => new bootstrap_5_wp_nav_menu_walker()
));
?>
<!-- Bootstrap 5 Nav Walker Footer Menu End -->
</div>
</div>
<div class="bootscore-info bg-light text-muted border-top py-2 text-center">
<div class="container">
<small>© <?php echo Date('Y'); ?> - <?php bloginfo('name'); ?></small>
</div>
</div>
</footer>
<!-- To top button -->
<a href="#" class="btn btn-primary shadow top-button position-fixed zi-1020"><i class="fa-solid fa-chevron-up"></i><span class="visually-hidden-focusable">To top</span></a>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>