-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
68 lines (54 loc) · 1.88 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
<?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 ampae
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<div class="grid">
<div class="grid-cell">
<center>
<?php
if ( get_theme_mod( 'ampae_logo' ) ) : ?>
<img src="<?php echo esc_url( get_theme_mod( 'ampae_logo' ) ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>">
<?php
else : ?>
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/Icon-64.png" alt="logo-footer" />
<?php endif; ?>
</center>
</div>
</div>
<div class="grid container">
<?php if ( is_active_sidebar( 'ampae-sidebar-footer' ) ) { ?>
<?php dynamic_sidebar( 'ampae-sidebar-footer' ); ?>
<?php } ?>
</div>
<div class="grid">
<div class="grid-cell">
<center>
<?php
ampae_footer_nav();
?>
</center>
</div>
</div>
<div class="grid">
<div class="grid-cell">
<center>
<span>Copyright © <?php echo date('Y'); ?> <a class="greylink" href="<?php echo esc_url(home_url()); ?>"><?php bloginfo('name'); ?></a> | All Rights Reserved</span>
</center>
</div>
</div>
</div><!-- site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>