-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
46 lines (41 loc) · 1.74 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
<?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 sheen
*/
?>
<?php if( !is_404() ) : ?>
<footer id="colophon" class="c-footer">
<button class="c-footer__to-top js-footer__to-top" aria-label="<?php esc_attr_e( 'To top button' , 'sheen') ?>">
<span class="c-footer__to-top__icon iconify" data-icon="fe:arrow-up"></span>
</button>
<div class="c-footer__container">
<?php
$sheen_footer_custom_text = get_theme_mod( 'footer_custom_text' , esc_html('Sheen, a creative portfolio theme') );
if( $sheen_footer_custom_text ) {
/** Translator %s 1 : Footer custom Text */
echo sprintf('<h4 class="c-footer__text u-margin-none">%s</h4>' , esc_html($sheen_footer_custom_text) );
}
?>
<div class="c-footer__copy">
<?php
/** Translator %s 1: current year. Translator %s 2: copyright text. */
echo sprintf('<h5 class="c-footer__copy-text u-margin-none">%s %s</h5>' , esc_html( date("Y") ) , esc_html__('Sheen, made by' , 'sheen') );
/** Translator %s 1:Vitathems website, Translator %s 2: Vitathemes name text */
echo sprintf( '<a class="c-footer__copy-link u-link--nav" href="%s"><span class="u-link--tertiary" >%s</span></a>' , esc_url('https://vitathemes.com/') , esc_html__( 'VitaThemes', 'sheen' ) );
?>
</div>
<?php sheen_socials_links(); ?>
</div>
</footer><!-- #colophon -->
<?php endif; ?>
</div><!-- o-page__container -->
</div><!-- o-page -->
<?php wp_footer(); ?>
</body>
</html>