Skip to content

Instantly share code, notes, and snippets.



Last active Apr 12, 2017
What would you like to do?
Registering the "Mega Menu" menu location.
// ...
function wpmm_setup() {
register_nav_menus( array(
'mega_menu' => 'Mega Menu'
) );
add_action( 'after_setup_theme', 'wpmm_setup' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment