Skip to content

Instantly share code, notes, and snippets.



Forked from ikoner/menu
Last active Sep 17, 2015
What would you like to do?
Forked Gist
// 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.