I’m using the qTranslate plugin to make my site multilingual. I’m having a small issue with the header though.
I want the “home” link in the header to be translated to danish, when clicking on the danish flag. I also want it to link to the danish frontpage, instead of the english.
Look at my website and see what i mean:
1) Click on the danish flag.
2) Notice how everything translates except the “Home” link in the header.
3) Try clicking on the “Home” link and observe how it links back to the english version of the frontpage.
I have found a clue as to what is causing this problem. The author of Qtranslate writes the following:
This is a template problem. Your template is using get_option(‘home’) to get the link for the front page, which is BAD! get_option is not supposed to be used in templates. There is a function called bloginfo for templates. Use that instead and everything will work the way it is supposed to.
I have tried looking in the editor for this get_option function, but can’t seem to find it.
Does anyone know what I should do?
I thank you in advance for your help!
- The topic ‘Zenon Lite multilingual header problem (home link)’ is closed to new replies.