-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfooter.php
More file actions
41 lines (34 loc) · 923 Bytes
/
footer.php
File metadata and controls
41 lines (34 loc) · 923 Bytes
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
<?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><?php // #content ?>
<footer id="colophon" class="site-footer">
<div class="site-info container">
<?php if ( _s_menu_has_items( 'menu-2' ) ) : ?>
<div class="col-12">
<?php wp_nav_menu( array(
'menu' => 'menu-2',
'depth' => 1,
'fallback_cb' => false,
'container' => false,
'menu_class' => 'nav footer-nav justify-content-center mb-3',
'walker' => new wp_simple_walker()
) ); ?>
</div>
<?php endif; ?>
<?php _s_copyright(); ?>
</div>
</footer>
</div><?php // #page ?>
<?php wp_footer(); ?>
<?php _s_custom_code('_s_before_closing_body'); ?>
</body>
</html>