Selaa lähdekoodia

Merge pull request #703 from elron/patch-25

on footer.php .footer-links tag doesn't exist
Eddie Machado 11 vuotta sitten
vanhempi
commit
a2dd69bf2c
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      footer.php

+ 5 - 5
footer.php

@@ -4,16 +4,16 @@
 
 					<nav role="navigation">
 						<?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)
     					'menu' => __( 'Footer Links', 'bonestheme' ),   // 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
+    					'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
 						)); ?>
 					</nav>