-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
82 lines (72 loc) · 1.99 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
<?php
/**
*
* Chooko Lite WordPress Theme by Iceable Themes | https://www.iceablethemes.com
*
* Copyright 2013-2020 Iceable Themes - https://www.iceablethemes.com
*
* Footer Template
*
*/
if ( is_active_sidebar( 'footer-sidebar' ) ) :
?>
<div id="footer">
<div class="container">
<ul>
<?php dynamic_sidebar( 'footer-sidebar' ); ?>
</ul>
</div>
</div>
<?php
endif;
?>
<div id="sub-footer">
<div class="container">
<div class="sub-footer-left">
<p>
<?php
/* You are free to modify or replace this by anything you like as per the terms of the GPL license */
?>
<?php
printf(
// Translators: %1$s is the copyright date, %2$s is the site name (e.g. Copyright © 2018, My Website)
esc_html__( 'Copyright © %1$s %2$s.', 'chooko-lite' ),
esc_html( date( 'Y' ) ),
esc_html( get_bloginfo( 'name' ) )
);
echo ' ';
printf(
// Translators: "Powered by" link to WordPress.org. %1$s is the localized wordpress.org url (e.g. https://en.wordpress.org), %2$s is title attribute for the link ("Semantic Personal Publishing Platform"), %3$s is the anchor ("WordPress")
wp_kses_post( __( 'Proudly powered by <a href="%1$s" title="%2$s">%3$s</a>.', 'chooko-lite' ) ),
esc_url( __( 'https://wordpress.org/', 'chooko-lite' ) ),
esc_attr__( 'Semantic Personal Publishing Platform', 'chooko-lite' ),
esc_html__( 'WordPress', 'chooko-lite' )
);
echo ' ';
printf(
// Translators: %s is a link to the author's website with the name "Iceable Themes" as anchor
wp_kses_post( __( 'Chooko design by %s', 'chooko-lite' ) ),
'<a href="https://www.iceablethemes.com" title="Free and Premium WordPress Themes">Iceable Themes</a>'
);
?>
<?php
/* Stop editing here */
?>
</p>
</div>
<div class="sub-footer-right">
<?php
wp_nav_menu(
array(
'theme_location' => 'footer-menu',
'depth' => 1,
)
);
?>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>