-
Notifications
You must be signed in to change notification settings - Fork 2
/
footer.php
26 lines (20 loc) · 1.13 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
<footer class="main-footer page-layout__section">
<nav role="navigation">
<?php wp_nav_menu([
'container' => '', // remove nav container
'container_class' => 'footer-links cf', // class of container (should you choose to use it)
'menu' => __('Footer Links', 'theme'), // nav name
'menu_class' => 'nav footer-nav cf', // adding custom nav class
'theme_location' => 'footer-links', // where it's located in the theme
'before' => '', // before the menu
'after' => '', // after the menu
'link_before' => '', // before each link
'link_after' => '', // after each link
'depth' => 0, // limit the depth of the nav
]); ?>
</nav>
<p class="copyright">© <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.</p>
</footer>
<?php wp_footer(); ?>
</body>
</html>