Sfoglia il codice sorgente

on footer.php .footer-links tag doesn't exist

On _base.sass the .footer-links is wrapping everything, therefore, it should exist in the 
[code]
	.footer-links {
		ul {
			li {
			}
		}
	} /* end .footer-links */
[/code]
elron 11 anni fa
parent
commit
4429629bba
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      footer.php

+ 5 - 5
footer.php

@@ -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>