Browse Source

putting footer menu right in the footer

Eddie Machado 12 years ago
parent
commit
50ed0b3183
1 changed files with 19 additions and 7 deletions
  1. 19 7
      footer.php

+ 19 - 7
footer.php

@@ -1,22 +1,34 @@
 			<footer class="footer" role="contentinfo">
 
-				<div id="inner-footer" class="wrap clearfix">
+				<div id="inner-footer" class="wrap cf">
 
 					<nav role="navigation">
-							<?php bones_footer_links(); ?>
+						<?php wp_nav_menu(array(
+    					'container' => '',                              // remove nav container
+    					'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
+    					'fallback_cb' => 'bones_footer_links_fallback'  // fallback function
+						)); ?>
 					</nav>
 
 					<p class="source-org copyright">&copy; <?php echo date('Y'); ?> <?php bloginfo( 'name' ); ?>.</p>
 
-				</div> <!-- end #inner-footer -->
+				</div> <?php // end #inner-footer ?>
 
-			</footer> <!-- end footer -->
+			</footer> <?php // end footer ?>
 
-		</div> <!-- end #container -->
+		</div> <?php // end #container ?>
 
-		<!-- all js scripts are loaded in library/bones.php -->
+		<?php // all js scripts are loaded in library/bones.php ?>
 		<?php wp_footer(); ?>
 
 	</body>
 
-</html> <!-- end page. what a ride! -->
+</html> <!-- end of site. what a ride! -->