-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
61 lines (54 loc) · 1.79 KB
/
Copy pathfooter.php
File metadata and controls
61 lines (54 loc) · 1.79 KB
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
<?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
*/
?>
</div><!-- #content -->
<?php
do_action( 'gcode_theme_after_content' );
do_action( 'gcode_theme_before_footer' );
?>
<?php get_template_part( 'template-parts/footer-widgets' ); ?>
<footer id="colophon" class="site-footer">
<div class="grid-container">
<div class="grid-x align-stretch">
<div class="cell medium-auto align-self-middle">
<h6 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h6>
</div>
<div class="cell medium-shrink align-self-middle">
<div class="site-info">
<p class="copyright">
<?php echo sprintf( __( 'Copyright © %s. All rights reserved.', 'gcode-theme' ), date( 'Y' ) . '. ' . esc_html( get_bloginfo( 'name' ) ) ); ?>
</p>
</div><!-- .site-info -->
</div><!-- .cell -->
<?php if ( has_nav_menu( 'social' ) ) : ?>
<div class="cell medium-auto">
<nav class="social-navigation" aria-label="<?php esc_html_e( 'Social Links Menu', 'gcode-theme' ); ?>">
<?php
wp_nav_menu(
array(
'container' => false,
'theme_location' => 'social',
'menu_class' => 'social-links-menu menu align-right',
'depth' => 1,
'link_before' => '<span class="screen-reader-text">',
'link_after' => '</span>',
)
);
?>
</nav><!-- .social-navigation -->
</div><!-- .cell -->
<?php endif; ?>
</div><!-- .grid-x -->
</div><!-- .grid-container -->
</footer><!-- #colophon -->
<?php do_action( 'gcode_theme_after_footer' ); ?>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>