[Resolved] Using pll_the_languages(); in Twenty Eleven child theme
Twenty Eleven Child Theme
No other plugins
1. Permalink settings – default
2. Static front page is used
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 – N
I’ve read the documentation.
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 of
pll_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 ‘[Resolved] Using pll_the_languages(); in Twenty Eleven child theme’ is closed to new replies.