Forums
Forums / Theme: Quark / Secondary Menu
(@bigaltheking)
11 years, 5 months ago
Hello, I was wondering how to add a secondary menu to this theme?
In functions.php I have added 'second-menu' => __( 'Second Menu' ) as below:
'second-menu' => __( 'Second Menu' )
register_nav_menus( array( 'primary' => esc_html__( 'Primary Menu', 'quark' ), 'second-menu' => __( 'Second Menu' ) ) );
However that only gives me the checkbox. How do I get this theme to allow me to build a secondary menu in the dashboard?. I would like to have it placed in a widget.
Thanks,
Alex.
(@ahortin)
If you’re using a child theme, you only need to register the new menu using something like:
register_nav_menus( array( 'secondary' => esc_html__( 'Secondary Menu', 'quark' ) ) );
11 years, 3 months ago
Thanks so much!
The topic ‘Secondary Menu’ is closed to new replies.