This repository was archived by the owner on Jan 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathfooter.php
More file actions
128 lines (108 loc) · 4.4 KB
/
footer.php
File metadata and controls
128 lines (108 loc) · 4.4 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?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
*/
?>
<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>
<!-- Footer Menu -->
<div id="footer-menu" class="footer-menu">
<nav class="nav">
<?php
wp_nav_menu( array(
'theme_location' => 'secondary',
'depth' => 1,
'container' => 'div',
'container_class' => 'footer-menu',
'container_id' => 'footer-menu',
'menu_class' => 'nav',
'fallback_cb' => 'WP_Bootstrap_Navwalker::fallback',
'walker' => new WP_Bootstrap_Navwalker(),
) );
?>
</nav>
</div>
<!-- Footer Menu -->
</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>
<!-- Cookie Consent -->
<div id="gdpr-box" class="cookies-accept bg-light py-3">
<div class="container">
<div class="row">
<div class="col-md-10 text-center text-md-left">
<div class="d-flex align-items-center h-100">
<p class="mb-md-0"><?php esc_html_e('Cookies help us deliver our services. By using our services, you agree to our use of cookies.', 'bootscore'); ?> <a href="<?php echo get_home_url(); ?><?php esc_html_e('/privacy-policy', 'bootscore'); ?>" class="privacylink"><?php esc_html_e('More Information', 'bootscore'); ?></a></p>
</div>
</div>
<div class="col-md-2">
<div class="d-flex align-items-center justify-content-center justify-content-md-end h-100">
<button class="gdpr-button-accept btn btn-primary btn-block"><?php esc_html_e('Accept', 'bootscore'); ?></button>
</div>
</div>
</div>
</div>
</div>
<!-- Cookie Consent End -->
<!-- To Top Button -->
<div class="top-button">
<a href="#to-top" class="btn btn-primary shadow"><i class="fas fa-chevron-up"></i><a>
</div>
<!-- To Top Button End -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>