Skip to content

Instantly share code, notes, and snippets.

@DomagojGojak

DomagojGojak/functions.php

Last active Apr 12, 2017
Embed
What would you like to do?
Registering the "Mega Menu" menu location.
<?php
// ...
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
You can’t perform that action at this time.