Thread Starter
ahmon
(@ahmon)
thanks for reply,
But its not related to the language plugin at all.
Even when I disabled the language plugin, the theme doesn’t support 2 menus.
For example:
I create “Menu 1” and “Menu 2”. And I select Menu 2 in Menu Setting.
The website would still only show Menu 1. Any idea how to make the them recognize that there are 2 menu structures?
hello, thanks for using this theme!
I am currently looking into the issue!
thanks.
At this current moment, I only specified to support one menu because there wasn’t need to have two or more!
if you need this feature! you can use my theme as a parent theme and I can show you or tell you how to modified the code to support two or more. but it will take me some time!
i got it to work! please wait for the next version!
in the meantime! you can go to the functions.php
and change the following to this
// Register Navigation Menu
register_nav_menus(array(
‘primary-navigation’ => __(‘Primary Navigation’, ‘silverquantum’),
))
Also in header.php change
theme-location to theme_location
if you can and write a review.
Thread Starter
ahmon
(@ahmon)
Hi Benjamin, thanks for reply,
I changed the functions.php, and I get this:
Parse error: syntax error, unexpected ‘add_editor_style’ (T_STRING) in /home/adapto5/public_html/wp-content/themes/azul-silver/functions.php on line 41
sorry
// Register Navigation Menu
register_nav_menus(array(
‘primary-navigation’ => __(‘Primary Navigation’, ‘silverquantum’),
));
missing a ; at the end.
Thread Starter
ahmon
(@ahmon)
np, it works now!, thanks a bunch.
It’s an awesome theme, btw. Using it for a consultant website.
If anyone else has the same problem, where they want to have multiple menu structures in this theme:
In Theme Functions (functions.php):
change:
// Register Navigation Menu
register_nav_menu('primary-navigation', __('Primary Navigation', 'azulsilver') );
to:
// Register Navigation Menu
register_nav_menus(array(
'primary-navigation' => __('Primary Navigation', 'silverquantum'),
));
And then in Header (header.php):
from
theme-location
to
theme_location
you’re welcome. thanks for using the theme. if you have time. would you be able to write a review.
thanks.
// Register Navigation Menu
register_nav_menus(array(
'primary-navigation' => __('Primary Navigation', 'silverquantum'),
));
silverquantum to azulsilver
// Register Navigation Menu
register_nav_menus(array(
'primary-navigation' => __('Primary Navigation', 'azulsilver'),
));