no language switch shown in menu of theme zerif-lie with polylang
-
Polylang => Versie: 1.6.3
Searched for a solution, but could not find anything that I would understand.
header.php of theme zerif-lite looks like it’s okay, but no flag are shown in
the menu.Added a menu per language: Dutch, Englisch and German
Default language is Dutch.
Connected every menu to a language.
When I change the language in the url (/?lang=de) the correct menu is shown.But no language selector.
Need to know if it can be fixed and if it will show the other sections also in the correct language.
headr.php
<?php wp_nav_menu( array(‘theme_location’ => ‘primary’, ‘container’ => false, ‘menu_class’ => ‘nav navbar-nav navbar-right responsive-nav main-nav-list’, ‘fallback_cb’ => ‘zerif_wp_page_menu’)); ?>functions.php
// This theme uses wp_nav_menu() in one location.register_nav_menus(array(
‘primary’ => __(‘Primary Menu’, ‘zerif-lite’),
));
- The topic ‘no language switch shown in menu of theme zerif-lie with polylang’ is closed to new replies.