Hi Guys,
For one of my clients I’m installing and configuring Polylang.
I installed Polylang and proceeded the installation wizard. One of the first things they recommend is to add a unique menu in order to display this for a specific language. But somehow I cannot change the location of any menu. See below:
Is there someone who recognize this issue? And of course, is there a solution for this?
Thanks in advance!
Cheers,
Jordy
2 Likes
Found a solution? I face the same issue.
1 Like
I have resolved this issue by manually registering menu_location in functions.php
by
function register_my_menus()
{
register_nav_menus([
"header-menu" => __("Header menu"),
"footer-menu" => __("Footer menu"),
]);
}
add_action("init", "register_my_menus");
then those locations shows up in settings > menu and I could assign ex. EN & PL languages and Bricks does recognize change by Polylang or WMPL
3 Likes
Vania
January 22, 2024, 2:28pm
4
dev.zomerfeld:
function register_my_menus()
{
register_nav_menus([
"header-menu" => __("Header menu"),
"footer-menu" => __("Footer menu"),
]);
}
add_action("init", "register_my_menus");
Thanks!!! This seems to be the only solution project saved
I just create header template for new language and switch menu at Nav Menu element and it works fajn