forked from Codeinwp/zillah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
95 lines (81 loc) · 2.58 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?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 zillah
*/
?>
<?php zillah_hook_content_bottom(); ?>
</div><!-- .container -->
</div><!-- #content -->
<?php zillah_hook_content_after(); ?>
<?php zillah_hook_footer_before(); ?>
<footer id="colophon" class="site-footer" role="contentinfo">
<?php zillah_hook_footer_top(); ?>
<?php if ( is_active_sidebar( 'zillah-footer-widget-area-3' ) || is_active_sidebar( 'zillah-footer-widget-area' ) || is_active_sidebar( 'zillah-footer-widget-area-2' ) ) : ?>
<div class="container container-footer">
<div class="footer-inner">
<div class="row">
<div class="col-sm-4">
<?php
if ( is_active_sidebar( 'zillah-footer-widget-area' ) ) {
dynamic_sidebar( 'zillah-footer-widget-area' );
}
?>
</div>
<div class="col-sm-4">
<?php
if ( is_active_sidebar( 'zillah-footer-widget-area-2' ) ) {
dynamic_sidebar( 'zillah-footer-widget-area-2' );
}
?>
</div>
<div class="col-sm-4">
<?php
if ( is_active_sidebar( 'zillah-footer-widget-area-3' ) ) {
dynamic_sidebar( 'zillah-footer-widget-area-3' );
}
?>
</div>
</div>
</div>
</div> <!-- .container-footer -->
<?php endif; ?>
<div class="site-info">
<div class="container container-footer-info"">
<div class="footer-copyright">
<?php
printf(
/* translators: 1: Link to WordPress.org */
__( 'Proudly powered by %1$s', 'zillah' ),
/* translators: 1: s: 'WordPress' */
sprintf( '<a href="http://wordpress.org/" rel="nofollow">%s</a>', esc_html__( 'WordPress', 'zillah' ) )
);
?>
<span class="sep"> | </span>
<?php
printf(
/* translators: 1: Link to ThemeIsle.com */
__( 'Theme Zillah by %1$s', 'zillah' ),
/* translators: s: 'Themeisle' */
sprintf( '<a href="http://themeisle.com/" rel="nofollow">%s</a>', esc_html__( 'Themeisle', 'zillah' ) )
);
?>
</div>
<div class="footer-back-top"">
<a href="#" id="to-top" class="to-top"><?php _e( 'Back to top', 'zillah' ); ?> <i class="fa fa-angle-double-up" aria-hidden="true"></i></a>
</div>
</div>
</div><!-- .site-info -->
<?php zillah_hook_footer_bottom(); ?>
</footer><!-- #colophon -->
<?php zillah_hook_footer_after(); ?>
</div><!-- #page -->
<?php zillah_hook_body_bottom(); ?>
<?php wp_footer(); ?>
</body>
</html>