|
@@ -4,16 +4,16 @@
|
|
|
|
|
|
|
|
<nav role="navigation">
|
|
<nav role="navigation">
|
|
|
<?php wp_nav_menu(array(
|
|
<?php wp_nav_menu(array(
|
|
|
- 'container' => '', // remove nav container
|
|
|
|
|
|
|
+ 'container' => 'div', // enter '' to remove nav container (just make sure .footer-links in _base.scss isn't wrapping)
|
|
|
'container_class' => 'footer-links cf', // class of container (should you choose to use it)
|
|
'container_class' => 'footer-links cf', // class of container (should you choose to use it)
|
|
|
'menu' => __( 'Footer Links', 'bonestheme' ), // nav name
|
|
'menu' => __( 'Footer Links', 'bonestheme' ), // nav name
|
|
|
'menu_class' => 'nav footer-nav cf', // adding custom nav class
|
|
'menu_class' => 'nav footer-nav cf', // adding custom nav class
|
|
|
'theme_location' => 'footer-links', // where it's located in the theme
|
|
'theme_location' => 'footer-links', // where it's located in the theme
|
|
|
'before' => '', // before the menu
|
|
'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
|
|
|
|
|
|
|
+ 'after' => '', // after the menu
|
|
|
|
|
+ 'link_before' => '', // before each link
|
|
|
|
|
+ 'link_after' => '', // after each link
|
|
|
|
|
+ 'depth' => 0, // limit the depth of the nav
|
|
|
'fallback_cb' => 'bones_footer_links_fallback' // fallback function
|
|
'fallback_cb' => 'bones_footer_links_fallback' // fallback function
|
|
|
)); ?>
|
|
)); ?>
|
|
|
</nav>
|
|
</nav>
|