Hi Christine,
Thank you for your reply. well, this is what I want for my blog in theme twentytwelve:
in the same line with my “home” menu, I want four more menu right next to it. So it looks like: “home” ”example1” ”example2””example3””example4”, when click on each menu, it will take you to another page.
I tried the register menus “https://codex.www.ads-software.com/Navigation_Menus”,
but not sure if I am in the right place for what I need.
in functions.php, I just added:
//////////////
function register_my_menus() {
register_nav_menus(
array(
‘header-menu’ => __( ‘Header Menu’ ),
‘header-menu1’ => __( ‘Header Menu1’ ),
‘header-menu2’ => __( ‘Header Menu2’ ),
‘header-menu3’ => __( ‘Header Menu3’ ),
‘header-menu4’ => __( ‘Header Menu4’ )
)
);
}
add_action( ‘init’, ‘register_my_menus’ );
//////////////
to the bottom of the .php
I did see the new menus appear in the appearance/menu
Is this correct so far? what should I put
///////
<?php wp_nav_menu( array( ‘theme_location’ => ‘header-menu’ ) ); ?>
///////
and
///////
wp_nav_menu( array( ‘theme_location’ => ‘extra-menu’, ‘container_class’ => ‘my_extra_menu_class’ ) );
///////
to make those menu appear right next to the menu “home”, rather than showing up as sub menus underneath menu “home”.
I am very basic with html and css. if some one can just tell me the code and what it should be modified or added, it will be a great help for me. thank you all in advance. wanyu