Skip to content

Instantly share code, notes, and snippets.

@sxidsvit
Created November 30, 2015 14:33
Show Gist options
  • Save sxidsvit/f20fdda85a0c0b21e82f to your computer and use it in GitHub Desktop.
Save sxidsvit/f20fdda85a0c0b21e82f 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