forked from bootscore/bootscore-child
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
94 lines (76 loc) · 2.96 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
<?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 text-light bg-dark 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-4 col-lg-4 text-center">
<?php if (is_active_sidebar('footer-1')) : ?>
<div>
<?php dynamic_sidebar('footer-1'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer 2 Widget -->
<div class="col-md-4 col-lg-4 text-center">
<?php if (is_active_sidebar('footer-2')) : ?>
<div>
<?php dynamic_sidebar('footer-2'); ?>
</div>
<?php endif; ?>
</div>
<!-- Footer 3 Widget -->
<div class="col-md-4 col-lg-4 text-center">
<?php if (is_active_sidebar('footer-3')) : ?>
<div>
<?php dynamic_sidebar('footer-3'); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
<div class="bootscore-info bg-dark text-muted border-top py-2 text-center">
<div class="container">
<!-- 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 text-light justify-content-center mb-2 %2$s">%3$s</ul>',
'depth' => 1,
'walker' => new bootstrap_5_wp_nav_menu_walker()
));
?>
<!-- Bootstrap 5 Nav Walker Footer Menu End -->
<small class="text-light footer-text">© <?php echo Date('Y'); ?> - <?php bloginfo('name'); ?></small></br>
<small class="text-light footer-text">Designed by Ben Bishop • <a class="footer-copyright-link" href="/wp-admin">Admin Login</a></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>