forked from digitoimistodude/air-light
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
44 lines (33 loc) · 1.16 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
<?php
/**
* Template for displaying the footer
*
* Description for template.
*
* @Author: Roni Laukkarinen
* @Date: 2020-05-11 13:33:49
* @Last Modified by: Roni Laukkarinen
* @Last Modified time: 2020-05-11 13:33:49
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
* @package air-light
*/
namespace Air_Light;
?>
</div><!-- #content -->
<footer id="colophon" class="block block-footer site-footer">
<?php get_template_part( 'template-parts/footer/demo-content' ); ?>
<?php
// Reminder for translated accessible labels
if ( function_exists( 'pll_the_languages' ) && function_exists( 'ask_e' ) ) {
$screenreadertext_top = ask__( 'Accessibility: Back to top' );
} else {
$screenreadertext_top = 'Back to top';
}
?>
<p class="back-to-top"><a href="#page" class="js-trigger top no-text-link no-external-link-indicator" data-mt-duration="300"><span class="screen-reader-text"><?php echo esc_html( $screenreadertext_top ); ?></span><?php include get_theme_file_path( '/svg/chevron-up.svg' ); ?></a></p>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>