Problem with pll_the_languages and language switcher
-
Hi,
I have a problem with pll_the_languages function.
if (function_exists(‘pll_the_languages’)) {
$mytranslatedurl = pll_the_languages(array(‘raw’ => 1));
};it does not return proper translated URL, despite the post/page and slugs have been translated and are working fine for both languages.
It stopped working for all posts and pages – language switcher keeps redirecting to home page.It has been working few days ago and now it does not….. I dont know what I did wrong.
Any suggestions?
Please see screenshot.
The page I need help with: [log in to see the link]
- The topic ‘Problem with pll_the_languages and language switcher’ is closed to new replies.