Support » Themes and Templates » [Resolved] Twenty Twelve Hardcode secondary navigation?

[Resolved] Twenty Twelve Hardcode secondary navigation?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi.

    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: http://zeaks.org/2012/add-second-menu-to-twenty-twelve-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.


    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 ‘[Resolved] Twenty Twelve Hardcode secondary navigation?’ is closed to new replies.