Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created November 11, 2015 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/6f79a2a1a9b4c5476a86 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/6f79a2a1a9b4c5476a86 to your computer and use it in GitHub Desktop.
Produce a footer nav menu with Genesis
<?php
// Paste the code BELOW this line into your child theme functions.
/**
* Produce a footer nav menu with Genesis
*
* @author Reasons to Use Genesis
* @link http://reasonstousegenesis.com/genesis-nav-menu/
*/
add_action( 'genesis_footer', 'rtug_footer_menu', 7 );
function rtug_footer_menu() {
genesis_nav_menu( array(
'theme_location' => 'footer',
'depth' => 1,
'fallback_cb' => false,
'menu_class' => 'genesis-nav-menu'
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment