-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
47 lines (39 loc) · 1.13 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
<?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 awps
*/
?>
</div><!-- #content -->
<?php
if ( is_customize_preview() ) {
echo '<div id="awps-footer-control" style="margin-top:-30px;position:absolute;"></div>';
}
?>
<footer id="colophon" class="site-footer container-fluid" role="contentinfo">
<div class="site-info">
<?php
printf(
'<a %s href="%s">%s</a>',
is_customize_preview() ? 'id="awps-footer-copy-control"' : '',
esc_url( __( 'https://github.com/Alecaddd/awps', 'awps' ) ),
esc_html( Awps\Api\Customizer::text( 'awps_footer_copy_text' ) )
);
?>
<span class="sep"> | </span>
<?php
/* translators: %1: Theme name. */
/* translators: %2: Author name. */
printf( esc_html__( 'Theme: %1$s by %2$s.', 'awps' ), 'AWPS', '<a href="http://alecaddd.com/" rel="designer">Alecaddd</a>' );
?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>