Additional bilingual menu
-
Hi,
I tried to set an addtional bilingual menu (german/english) in the footer as follows:
<?php pll_current_language($value); if ($value == "de-DE") { wp_nav_menu( array('menu' => 'Footer Menu' )); } else wp_nav_menu( array('menu' => 'Footer Menu E' )); ?>
It always shows the menu in the language after “else”, so I think the language detection does not work. Could you help please. Many thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Additional bilingual menu’ is closed to new replies.