-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
57 lines (45 loc) · 1.22 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
49
50
51
52
53
54
55
56
57
<?php
/**
* The template for displaying the footer
*
* @since Theming 1.0.0
*/
?>
</main>
<footer id="site-footer" class="footer">
<?php get_sidebar() ?>
<div id="colophon" class="py-4">
<div class="container d-md-flex justify-content-md-between">
<div id="copyright" class="footer-copyright d-flex justify-content-center align-items-center mb-3 mb-md-0">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
<span class="ms-3">
©
<?php
echo date_i18n(
/* translators: Copyright date format, see https://www.php.net/date */
_x( 'Y', 'copyright date format', 'theming' )
);
?>
</span>
</div>
<div class="ml-auto text-center">
<?php
wp_nav_menu( array(
'theme_location' => 'footer-menu',
'container' => 'nav',
'container_id' => 'the-footer-menu',
'menu_class' => 'list-inline',
'item_class' => 'list-inline-item',
'depth' => 1,
'link_before' => '<span>',
'link_after' => '</span>',
'fallback_cb' => false,
) );
?>
</div>
</div>
</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>