Hello Chrystl!
Yes I did. I think my problem is that my theme doesn’t support 2 menus but I am not sure. I really wanted your help.
It’s a theme location issue.
To fix that fastly you can replace this code in your header.php line 84:
<?php $anyMenu = get_terms( 'nav_menu' ) ? true : false;
$menuSelect = get_theme_mod('tesseract_tho_header_menu_select');
if ( $anyMenu && ( ( $menuSelect ) && ( $menuSelect !== 'none' ) ) ) :
wp_nav_menu( array( 'menu' => $menuSelect, 'container_class' => 'header-menu' ) );
elseif ( $anyMenu && ( !$menuSelect || ( $menuSelect == 'none' ) ) ) :
$menu = get_terms( 'nav_menu' );
$menu_id = $menu[0]->term_id;
wp_nav_menu( array( 'menu_id' => $menu_id ) );
elseif ( !$anyMenu ) :
wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) );
endif; ?>
by
<?php
wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) );
?>
Please report this bug to your theme author. It’s impossible to have more than one menu in its theme.
Thank you so much it worked!
Fine so could you please mark your topic as “resolved”. Thanks
What about the footer.php code? How we change there the snippet for the footer menu language?
I found the solution for the footer menu, too:
Themes Customization—-> Menus—> Select the menu of the language you want to traslate in—-> Menu locations, here check the header and footer small squares of the language u wanna to translate in.
No need for changing the footer.php file.
🙂
Hello Chrystl!
Thank you for your post above which helped me fix my Tesseract/
Polylang issue just like fn.costa did.
May I ask you to help with an additional question?
Under Appearance/Menus/Manage Locations it says “Your theme supports 4 menus. Select which menu appears in each location”
I Would like to use 6 menus (3 languages), so how to add 2 more menus? I have looked at many forums but not found the way.
I am very grateful for any help!