This repository was archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfooter.php
More file actions
executable file
·80 lines (57 loc) · 1.97 KB
/
footer.php
File metadata and controls
executable file
·80 lines (57 loc) · 1.97 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
<?php
/**
* The template for displaying the footer
*
* @package Forte
* @link https://themebeans.com/themes/forte
*/
?>
<?php if ( ! is_404() && ! is_page_template( 'template-underconstruction.php' ) ) { ?>
</div><!-- END #page -->
<footer id="footer" class="footer
<?php
if ( true === get_theme_mod( 'infinitescroll' ) ) {
echo ' infinite'; }
?>
<?php
if ( comments_open() && is_page() && post_type_supports( get_post_type(), 'comments' ) ) {
echo 'open-comments'; }
?>
">
<?php if ( is_active_sidebar( 'footer-col-1' ) || is_active_sidebar( 'footer-col-2' ) || is_active_sidebar( 'footer-col-3' ) ) { ?>
<div class="footer-widgets">
<div class="footer-col footer-col-1">
<?php dynamic_sidebar( 'footer-col-1' ); ?>
</div><!-- END .footer-col-1 -->
<div class="footer-col footer-col-2">
<?php dynamic_sidebar( 'footer-col-2' ); ?>
</div><!-- END .footer-col-2 -->
<div class="footer-col footer-col-3">
<?php dynamic_sidebar( 'footer-col-3' ); ?>
</div><!-- END .footer-col-2 -->
</div><!-- END .widgets -->
<?php } ?>
<div class="footer-colophon">
<p class="copyright">© <?php echo esc_html( date( 'Y' ) ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo bloginfo( 'name' ); ?>" rel="home"><?php bloginfo( $name ); ?></a></p>
<p class="credit">
<?php
if ( get_theme_mod( 'footer_copyright' ) ) {
echo get_theme_mod( 'footer_copyright' );
} else {
echo '<a href="http://themebeans.com/theme/forte">Forte</a> Theme by <a href="http://themebeans.com">ThemeBeans</a>';
}
?>
</p>
</div><!-- END .footer-colophon -->
</footer><!-- END #footer-->
</div><!-- END #theme-wrapper -->
<?php
if ( get_theme_mod( 'hidden_sidebar' ) == true ) {
get_template_part( 'content', 'hidden-sidebar' );
}
?>
</div><!-- END #skrollr-body -->
<?php } ?>
<?php wp_footer(); ?>
</body>
</html>