• Resolved itsmir

    (@itsmir)


    Hello,

    My theme creates an icon with a link to the ‘My Account” page, however this link can’t be translated via the string translations. So what Í think I need is a snippet for the functions.php which will send anyone clicking on “My Account” to the My Account page in the current language rather than to the language in the hard coded link. Hope I make sense!

    I think I can use the pll_get_post filter somehow, but PHP is alien to me 🙂

    I’d be very grateful if anyone can help!

Viewing 1 replies (of 1 total)
  • Thread Starter itsmir

    (@itsmir)

    This can be removed – fixed it by finding the field key name in the theme, seeing it was translatable and adding it to a wpml-config.xml file in my child theme. It then appeared in the string translation page and all is working correctly.

Viewing 1 replies (of 1 total)

The topic ‘Redirect dependant on current language’ is closed to new replies.