Skip to content

Instantly share code, notes, and snippets.

@manters2000 manters2000/menu forked from ikoner/menu
Last active Sep 17, 2015

Embed
What would you like to do?
Forked Gist
functions.php
// register wp_nav_menu
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus( array(
'topMenu' => __( 'topMenu', 'smsApp' )
)
);
}
<?php wp_nav_menu( array(
'container' => false,
'theme_location' => 'topMenu',
'items_wrap' => '<ul class="nav">%3$s</ul>'
) ); ?>
admin -> Appearance -> Menus
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.