Support » Theme: Hueman » Menu is shown in wrong language

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I had tested with polylang plugin.
    Yes, I can replicate your issue.

    I am able to setup other language menu in customizer but after Save and Publish, it immediately reverts back to default language menu.

    I had made an issue report.
    https://github.com/presscustomizr/hueman/issues/377

    I believe the developers will work on it soon.

    Thank you.

    Great, Thank you Denzel!

    You are welcome.
    Thank you

    The developers still have not fixed this problem unfortunally.
    You can fix it your self for the time being by removing the ‘theme_location’ in the wp_nav_menu calls. You have to change the following 3 files:

    in /parts/header-main.php change
    `
    wp_nav_menu(
    array(
    ‘theme_location’=>’header’,
    ‘menu_class’=>’nav container-inner group’,
    ‘container’=>”,
    ‘menu_id’ => ”,
    ‘fallback_cb’=> is_multisite() ? ” : ‘hu_page_menu’
    )
    );
    `
    to
    `
    wp_nav_menu(
    array(
    ‘menu_class’=>’nav container-inner group’,
    ‘container’=>”,
    ‘menu_id’ => ”,
    ‘fallback_cb’=> is_multisite() ? ” : ‘hu_page_menu’
    )
    );
    `

    in /parts/header-nav-topbar.php change

    wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false));
    

    to
    wp_nav_menu(array('menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false));

    in footer.php change
    wp_nav_menu( array('theme_location'=>'footer','menu_class'=>'nav container group','container'=>'','menu_id'=>'','fallback_cb'=> 'hu_page_menu' ) );
    to

    wp_nav_menu( array('menu_class'=>'nav container group','container'=>'','menu_id'=>'','fallback_cb'=> 'hu_page_menu' ) ); 
    

    The problem is still actual. https://antidk.org.ua/en/
    Hueman v3.3.6

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Menu is shown in wrong language’ is closed to new replies.