forked from WebDevStudios/wd_s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
47 lines (38 loc) · 1.08 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 wd_s
*/
use function WebDevStudios\wd_s\print_copyright_text;
use function WebDevStudios\wd_s\print_social_network_links;
use function WebDevStudios\wd_s\print_mobile_menu;
?>
<footer class="site-footer">
<nav id="site-footer-navigation" class="footer-navigation navigation-menu" aria-label="<?php esc_attr_e( 'Footer Navigation', 'wd_s' ); ?>">
<?php
wp_nav_menu(
[
'fallback_cb' => false,
'theme_location' => 'footer',
'menu_id' => 'footer-menu',
'menu_class' => 'menu',
'container' => false,
'depth' => 1,
]
);
?>
</nav><!-- #site-navigation-->
<div class="site-info">
<?php print_copyright_text(); ?>
<?php print_social_network_links(); ?>
</div><!-- .site-info -->
</footer><!-- .site-footer-->
<?php print_mobile_menu(); ?>
<?php wp_footer(); ?>
</body>
</html>