Skip to content

Instantly share code, notes, and snippets.

@agragregra
Created February 17, 2015 20:50
Show Gist options
  • Save agragregra/53c135883686a684156b to your computer and use it in GitHub Desktop.
Save agragregra/53c135883686a684156b to your computer and use it in GitHub Desktop.
//functions.php
register_nav_menus(array(
'top_mnu' => 'Top Menu',
));
//Template
wp_nav_menu(array(
'theme_location' => 'top_mnu'
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment