-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
62 lines (55 loc) · 1.7 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
<?php
/**
* The footer.php file.
*
* Outputs the site footer and closes any remaining opened tags
*
* @package Best_Reloaded
* @since Best Reloaded v0.1
*/
?>
</div><!-- end .container.container-main -->
<footer id="site-footer" class="container" role="contentinfo">
<?php
if ( get_theme_mod( 'display_footer_top', best_reloaded_setting_defaults( 'display_footer_top' ) ) ) {
if ( is_active_sidebar( 'footer-col' ) ) {
?>
<div class="footer-top">
<div class="widget-area row">
<?php dynamic_sidebar( 'footer-col' ); ?>
</div><!-- end .widget-area -->
</div><!-- end .footer-top -->
<?php
}
}
if ( get_theme_mod( 'display_footer_bottom', best_reloaded_setting_defaults( 'display_footer_bottom' ) ) ) {
?>
<div class="footer-bottom" role="contentinfo">
<div class="row">
<div class="col-sm-5">
<p id="footer-site-title"><?php echo wp_kses_post( get_theme_mod( 'footer_bottom_tagline', best_reloaded_setting_defaults( 'footer_bottom_tagline' ) ) ); ?></p>
</div>
<div class="col-sm-7 align-self-center">
<nav role="navigation" aria-label="Footer Menu">
<span class="sr-only">Footer Menu</span>
<?php
wp_nav_menu(
array(
'theme_location' => 'best_reloaded_nav_footer',
'depth' => 1,
'container' => false,
'menu_class' => 'nav justify-content-end',
'fallback_cb' => 'best_reloaded_footer_nav_fallback',
'walker' => new wp_bootstrap_navwalker(),
)
);
?>
</nav>
</div>
</div><!-- end .row -->
</div><!-- end .footer-bottom -->
<?php } ?>
</footer>
<?php wp_footer(); ?>
</body>
</html>