• Hello,

    I’m a newbie to WP but the Sydney theme is helping me a lot.

    My question – I noticed that the theme only allows one menu from the menu tab. I would like to create a 2nd, 3rd and even a 4th menu if possible.
    How can I do this? I believe some code would need to be written and placed in a child them but don’t know how to do this.

    The reason I would like this 2nd menu is I’m making a comparison page for my product like Apple.Com has on there website here:http://www.apple.com/iphone/compare/

    The 2nd menu that contains the text “iPhone 6S” is the menu I want to get / create so when the user scrolls down for comparison of the products the columns stays labeled.

    Can some please help me accomplish this? I believe I need code and I need to know where to place the code to make this work.

    I’m working on my site using WAMP on a local host on my computer so my site is not currently up to view.

    Thank you for your help.

    Angelo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Angfoti175

    It seems that you know how to create child theme.
    Now if you want to add more menus then follow the steps:
    In main themes folder functions.php file you will find the below code which is registering your menu:

    register_nav_menus( array(
    		'primary' => __( 'Primary Menu', 'sydney' ),
    	) );

    Now if you want more menus then you can create child theme and in functions.php file in child theme you can add below code:

    register_nav_menus( array(
                    'secondary' =>__('Secondary Menu','sydney'),
                     //similaryly add as much as you want
    	) );

    Note: Please customize files of child theme, so your changes will not overwrite on theme update.

    Thanks!!

    GoTejus

    (@myhachiacademy)

    Hi Sanjog,

    That code worked and added a secondary menu option under Menus in dashboard. So i created 2 menus and assigned one to primary and another to secondary.

    But i still see only one menu in the header, Primary menu only. Secondary is not visible yet.

    I mean, i want to see the Double menu in header.
    Primary menu holds the page navigation and secondary menu holds the external links for the visitors.
    Pls help

    GoTejus

    (@myhachiacademy)

    Hi,

    I have figured it out and it is working now. I see both primary and secondary menu bars in header, however i want little help regarding the position of the secondary menu.

    I have configure the site logo and menus in the center. so my logo is just above both the menus.
    Could you please help me in moving any one menu (primary or secondary) to
    – Either just above the site logo
    – Or just on the extreme right of the site logo

    Your help is appreciated.
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sydney theme – add 2 or more menus’ is closed to new replies.