forked from WebDevStudios/wd_s
/
footer.php
48 lines (41 loc) · 1.1 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
<?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 _s
*/
?>
</div><!-- #content -->
<footer class="site-footer">
<div class="site-info">
<?php _s_display_copyright_text(); ?>
<?php _s_display_social_network_links(); ?>
</div><!-- .site-info -->
</footer><!-- .site-footer container-->
</div><!-- #page -->
<?php wp_footer(); ?>
<nav class="off-canvas-container" aria-hidden="true">
<button type="button" class="off-canvas-close" aria-label="<?php esc_html_e( 'Close Menu', '_s' ); ?>">
<span class="close"></span>
</button>
<?php
// Mobile menu args.
$mobile_args = array(
'theme_location' => 'mobile',
'container' => 'div',
'container_class' => 'off-canvas-content',
'container_id' => '',
'menu_id' => 'mobile-menu',
'menu_class' => 'mobile-menu',
);
// Display the mobile menu.
wp_nav_menu( $mobile_args );
?>
</nav>
<div class="off-canvas-screen"></div>
</body>
</html>