Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Additional main menu to show in header (Sterling WP Theme) WordPress


The Sterling WP theme supports only 2 menu locations ("main menu" and "footer menu"). I need an additional main menu to show in the header of some pages. What is the fastest, best way to do it?

Answers (5)


Arnav Joy answers:

you can use following function to register menus

and can use following function to call it

then you can all it in page and check in which page using following function


Kiet Luong answers:

You can use [[LINK href=""]]Custom menu shortcode plugin[[/LINK]] and add shortcode ( Ex : [custommenu menu=Menu] ) to your pages.

I can help you do it with or without plugin if you want.
skype: [[LINK href=""]]kioluong[[/LINK]]
Regards !


Francisco Javier Carazo Gil answers:

With Arnav information and this link you will have all you need:


plovs answers:

To clearify your question: do you want <em>two</em> menus, one under the other, on <em>some</em>? Or do you you want to <em>replace</em> the header menu on some pages?


Rowela Alzona answers:

Go to your functions.php and add these lines:

register_nav_menu( 'additional-menu', __( 'Additional Menu' ) );

And paste these lines to your header of some pages.

<?php wp_nav_menu( array( 'theme_location' => 'additional-menu' ) ); ?>

You can add custom menu's by going to your dashboard > Appearance> Menus
And thats it all set.