Logo on the english website version directs to the german site new

Hello!

Like you can see in the topic, my questions regards to: how can i change the link of the logo on a translated site, so that the logo directs me to the translated home of this site, and not on the home of the origin language? So one link for each site towards the right language.

I used WPML for the translation of the website by duplicating each site. The website URL is: https://www.gabler-thermoform.com/

Thanks

Michael

Hi Michael,

Thanks for writing in! This is possible with some custom development, but it would be outside the scope of our support.

However I can point you to the right direction. First you need to setup a child theme (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57) and then you can copy the file _brand.php under (x\framework\legacy\cranium\headers\views\global) into your child theme (x-child\framework\legacy\cranium\headers\views\global_brand.php).

Then you should be able to set the link by checking the current language.

if(wpml_getLanguage()=='en')

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.