Using pll_the_languages(); in Twenty Eleven child theme
-
***INFO***
Twenty Eleven Child Theme
No other plugins1. Permalink settings – default
2. Static front page is used
3. Settings:
Detect browser language – N
The language is set from content – Y
Remove /language/ in pretty permalinks – Y
Hide URL language information for default language – N
When using static front page… – N
Allow to synchronize categories – NI’ve read the documentation.
***Question***
Hi,
I have successfully set up 3 languages and it works fine with Displays a language switcher at the end of the menu option. But i want to add language chooser to my header. In documentation there’s a mention ofpll_the_languages();
function and some examples, but i can’t seem to get it to work.I have created header.php in my child theme and tried to add one of the examples, but it breaks the site. What am i doing wrong? Am i missing something?
- The topic ‘Using pll_the_languages(); in Twenty Eleven child theme’ is closed to new replies.