forked from bootscore/bootscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
87 lines (65 loc) · 2.97 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
<?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 6.0.0
*/
// Exit if accessed directly
defined('ABSPATH') || exit;
?>
<footer class="bootscore-footer">
<?php if (is_active_sidebar('footer-top')) : ?>
<div class="<?= apply_filters('bootscore/class/footer/top', 'bg-body-tertiary border-bottom py-5'); ?> bootscore-footer-top">
<div class="<?= apply_filters('bootscore/class/container', 'container', 'footer-top'); ?>">
<?php dynamic_sidebar('footer-top'); ?>
</div>
</div>
<?php endif; ?>
<div class="<?= apply_filters('bootscore/class/footer/columns', 'bg-body-tertiary pt-5 pb-4'); ?> bootscore-footer-columns">
<div class="<?= apply_filters('bootscore/class/container', 'container', 'footer-columns'); ?>">
<div class="row">
<div class="<?= apply_filters('bootscore/class/footer/col', 'col-6 col-lg-3', 'footer-1'); ?>">
<?php if (is_active_sidebar('footer-1')) : ?>
<?php dynamic_sidebar('footer-1'); ?>
<?php endif; ?>
</div>
<div class="<?= apply_filters('bootscore/class/footer/col', 'col-6 col-lg-3', 'footer-2'); ?>">
<?php if (is_active_sidebar('footer-2')) : ?>
<?php dynamic_sidebar('footer-2'); ?>
<?php endif; ?>
</div>
<div class="<?= apply_filters('bootscore/class/footer/col', 'col-6 col-lg-3', 'footer-3'); ?>">
<?php if (is_active_sidebar('footer-3')) : ?>
<?php dynamic_sidebar('footer-3'); ?>
<?php endif; ?>
</div>
<div class="<?= apply_filters('bootscore/class/footer/col', 'col-6 col-lg-3', 'footer-4'); ?>">
<?php if (is_active_sidebar('footer-4')) : ?>
<?php dynamic_sidebar('footer-4'); ?>
<?php endif; ?>
</div>
</div>
<!-- Bootstrap 5 Nav Walker Footer Menu -->
<?php get_template_part('template-parts/footer/footer-menu'); ?>
</div>
</div>
<div class="<?= apply_filters('bootscore/class/footer/info', 'bg-body-tertiary text-body-secondary border-top py-2 text-center'); ?> bootscore-footer-info">
<div class="<?= apply_filters('bootscore/class/container', 'container', 'footer-info'); ?>">
<?php if (is_active_sidebar('footer-info')) : ?>
<?php dynamic_sidebar('footer-info'); ?>
<?php endif; ?>
<div class="small bootscore-copyright"><span class="cr-symbol">©</span> <?= date('Y'); ?> <?php bloginfo('name'); ?></div>
</div>
</div>
</footer>
<!-- To top button -->
<a href="#" class="<?= apply_filters('bootscore/class/footer/to_top_button', 'btn btn-primary shadow'); ?> position-fixed zi-1000 top-button"><i class="fa-solid fa-chevron-up"></i><span class="visually-hidden-focusable">To top</span></a>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>