-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
58 lines (51 loc) · 1.69 KB
/
Copy pathfooter.php
File metadata and controls
58 lines (51 loc) · 1.69 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
<?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( 'nordic_theme_after_content' );
do_action( 'nordic_theme_before_footer' );
?>
<footer id="colophon" class="site-footer">
<?php get_template_part( 'template-parts/footer-widgets' ); ?>
<div class="grid-container">
<div class="grid-x">
<div class="cell medium-6 small-order-2 medium-order-1">
<div class="site-info">
<p class="copyright">
<?php echo sprintf( __( 'Copyright © %s. All rights reserved.', 'nordic-theme' ), date( 'Y' ) . '. ' . esc_html( get_bloginfo( 'name' ) ) ); ?>
</p>
</div><!-- .site-info -->
</div><!-- .cell -->
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<div class="cell medium-6 small-order-1 medium-order-2">
<nav id="footer-navigation" class="footer-navigation" aria-label="<?php esc_html_e( 'Footer Menu', 'nordic-theme' ); ?>">
<?php
wp_nav_menu(
array(
'container' => false,
'theme_location' => 'footer',
'menu_id' => 'footer',
'menu_class' => 'vertical medium-horizontal menu',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 1,
)
);
?>
</nav><!-- #site-navigation -->
</div><!-- .cell -->
<?php endif; ?>
</div><!-- .grid-x -->
</div><!-- .grid-container -->
</footer><!-- #colophon -->
<?php do_action( 'nordic_theme_after_footer' ); ?>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>