This repository has been archived by the owner on May 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathfooter.php
executable file
·71 lines (64 loc) · 2.07 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
63
64
65
66
67
68
69
70
71
<?php
/**
* The template for displaying the footer
*
* @package Grille
* @link https://themebeans.com/themes/grille
*/
?>
<?php if ( ! is_page_template( 'template-comingsoon.php' ) && ! is_page_template( 'template-underconstruction.php' ) ) { ?>
<?php if ( is_active_sidebar( 'footer-col-1' ) || is_active_sidebar( 'footer-col-2' ) || is_active_sidebar( 'footer-col-3' ) || is_active_sidebar( 'footer-col-4' ) ) { ?>
<footer id="footer-container" class="wrapper">
<div class="inner">
<div class="border wrapper"></div>
<div class="footer-widgets">
<?php if ( is_active_sidebar( 'footer-col-1' ) ) { ?>
<div class="area-1 block left">
<?php dynamic_sidebar( 'footer-col-1' ); ?>
</div>
<?php } ?>
<?php if ( is_active_sidebar( 'footer-col-2' ) ) { ?>
<div class="area-2 block left">
<?php dynamic_sidebar( 'footer-col-2' ); ?>
</div>
<?php } ?>
<?php if ( is_active_sidebar( 'footer-col-3' ) ) { ?>
<div class="area-3 block left">
<?php dynamic_sidebar( 'footer-col-3' ); ?>
</div>
<?php } ?>
<?php if ( is_active_sidebar( 'footer-col-4' ) ) { ?>
<div class="area-4 block left hide-for-first">
<?php dynamic_sidebar( 'footer-col-4' ); ?>
</div>
<?php } ?>
</div>
</div>
</footer>
<?php } ?>
<?php } ?>
<div id="colophon">
<div class="inner">
<div class="wrapper">
<div class="copyright block left">
<p class="subtext alt-text">
<?php
if ( get_theme_mod( 'footer_copyright' ) ) {
echo get_theme_mod( 'footer_copyright' );
} else {
echo '© ' . date( 'Y' ) . ' <a href="http://themebeans.com/theme/grille/?ref=grilledemo">Grille</a> WordPress by <a href="http://themebeans.com/?ref=grilledemo">ThemeBeans</a>';
}
?>
</p>
</div>
<?php if ( get_theme_mod( 'footer_alt_text' ) ) { ?>
<div class="alt-text block right hide-for-second">
<p class="subtext"><?php echo get_theme_mod( 'footer_alt_text' ); ?></p>
</div>
<?php } ?>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>