Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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

    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

    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?

    Hi Chouby,

    I am a wordpress newbie, but I have a similar problem where I am using polylang for a multilanguage site.

    Menu is only showing the english menu, not the 2nd menu I created.

    This is what I see in the header.php.

    </header>
                <nav class = "primary-navigation cf">
                        <?php wp_nav_menu(array(
                            'theme-location'    => 'primary-navigation',
                            'container'         => '',
                            'container_class'   => '',
                            'menu_id'           => '',
                            'menu_class'        => 'primary-navigation',
                            'items_wrap'        => '<ul class = "%2$s">%3$s</ul>',
                            ));
                        ?>
    			</nav>

    thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)