forked from RelevanceDigital/wp-bs4-starter-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
33 lines (28 loc) · 778 Bytes
/
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
<?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 _s
*/
$before_closing_body_code = get_theme_mod('_s_before_closing_body');
$copyright = get_theme_mod('_s_copyright');
?>
</div><?php // #content ?>
<footer id="colophon" class="site-footer">
<div class="site-info container">
<?php if ( $copyright ) : ?>
<p class="mb-md-0"><?php echo str_replace( '{year}', date( 'Y' ), $copyright ); ?></p>
<?php endif; ?>
</div>
</footer>
</div><?php // #page ?>
<?php wp_footer(); ?>
<?php if ($before_closing_body_code) {
echo $before_closing_body_code;
} ?>
</body>
</html>