Support » Themes and Templates » Twenty Twelve Hardcode secondary navigation?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Siobhan Bamber (siobhyb)


    Automattic Happiness Engineer


    To create a new custom menu in your theme you should use WordPress’ inbuilt register_nav_menus function in functions.php file.

    Here is a good online tutorial which gives you some step-by-step instructions on how to do this using your twenty twelve child theme:

    Hope that helps!

    Hi siobhyb

    Thanks for your reply and suggestion.

    I did stumble across this tutorial, and was intrigued, but I got put off by the fact that it displays below the header area.

    Do you happen to know if it can be adapted for what I was looking for?

    Cheers again.


    Siobhan Bamber (siobhyb)


    Automattic Happiness Engineer

    Yes, it can definitely be adapted to suit your needs.

    Using the tutorial:

    – Replace the words “lower-navigation” with “upper-navigation.”
    – Add the menu to the header.php file by copying the code directly after <header> as opposed to directly before </header>.
    – There may also be a few CSS changes needed.

    It gives you a good starting point.

    Cheers, siobhyb

    Going to try that today.



Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Twelve Hardcode secondary navigation?’ is closed to new replies.