forked from WPStash/fooding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
52 lines (39 loc) · 1.17 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
<?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 Fooding
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php $enable_staff_picks = esc_attr( get_theme_mod( 'fooding_staff_picks', true ) ) ;
if ( $enable_staff_picks == true ) {
get_template_part( 'template-parts/content', 'staff' );
}
?>
<?php if ( is_active_sidebar( 'footer' ) ) { ?>
<div class="footer-widgets">
<div class="container">
<?php dynamic_sidebar( 'footer' ); ?>
</div>
</div>
<?php } ?>
<div class="site-info">
<div class="container">
<div class="site-copyright">
<?php printf( esc_html__( 'Copyright © %1$s %2$s. All Rights Reserved.', 'fooding' ), date( 'Y' ), get_bloginfo( 'name' ) ); ?>
</div>
<?php do_action('fooding_footer_site_info'); ?>
</div>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div> <!-- end .site-pusher -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>