forked from ArrayHQ/paperback
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
54 lines (46 loc) · 1.23 KB
/
footer.php
File metadata and controls
54 lines (46 loc) · 1.23 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Paperback
*/
?>
</div><!-- #content -->
</div><!-- #page -->
<?php
// Get the post navigations for single posts
if ( is_single() ) {
paperback_post_navigation();
} ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="container">
<?php if ( is_active_sidebar( 'footer' ) ) : ?>
<div class="footer-widgets">
<?php do_action( 'paperback_above_footer_widgets' );
dynamic_sidebar( 'footer' );
do_action( 'paperback_below_footer_widgets' ); ?>
</div>
<?php endif; ?>
<div class="footer-bottom">
<?php if ( has_nav_menu( 'footer' ) ) { ?>
<nav class="footer-navigation" role="navigation">
<?php wp_nav_menu( array(
'theme_location' => 'footer',
'depth' => 1,
'fallback_cb' => false
) );?>
</nav><!-- .footer-navigation -->
<?php } ?>
<div class="footer-tagline">
<div class="site-info">
<?php echo paperback_filter_footer_text(); ?>
</div>
</div><!-- .footer-tagline -->
</div><!-- .footer-bottom -->
</div><!-- .container -->
</footer><!-- #colophon -->
<?php wp_footer(); ?>
</body>
</html>