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

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

    (@siobhyb)

    Automattic Happiness Engineer

    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!

    pablo0151

    (@pablo0151)

    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.

    Paul

    Siobhan Bamber (siobhyb)

    (@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.

    pablo0151

    (@pablo0151)

    Cheers, siobhyb

    Going to try that today.

    Cheers

    Paul

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