• Hey,

    I was tasked to created a site with a:
    1 – Main menu
    2 – Slideshow
    3 – Custom secondary menu

    on the HOME page.

    Similar to this:
    https://edwardsvillewrestling.com/
    where the secondary menu lists the individual schools in this example (Edwardsville HS, Lincoln MS, etc)

    I have the main menu and slide show fine.

    But have no idea how to create the secondary menu.

    It only shows up on the front page.

    Any help is appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Follow these steps

    1) Put this code in your function.phpf

    register_nav_menus( array(
      	'primary' => __( 'Primary Navigation', 'your_theme_name' ),
      	'secondary' => __('Secondary Navigation', 'your_theme_name')
    	) );

    These must be a function which will be registering menus. look for that and just add another code line like its in above code.

    2) Updating function.php will create an option for secondary menu in Appereance–>Menu option.

    3) Create another menu like how you want. and make it as Secondary menu from option at left. Save it

    4) Open page where you want to display secondary menu and paste this code

    5) <?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’ ) ); ?>
    This will display your secondary menu however you will have to make your own CSS to match it your requirements.

    Hope it helps

Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Twenty Twelve] – Seconday Customr Menu on front page’ is closed to new replies.