I am trying to change the language switching tool in my WordPress website. Currently the option to choose the language is shown in the main menu (this is the website http://www.moncheri.al/en/, the plugin used for this is qTranslate-X) but I want to display it in header, top right corner like this http://www.novacontract.al/en
Asked
Active
Viewed 1,910 times
1 Answers
0
Use qtranxf_generateLanguageSelectCode('text');
function in your header.php.
In your website use the code right after the social icons.

Rakesh Suryavardhan
- 46
- 6
-
ok now it works, but the two languages display overlayed, how can I separate them? – AdaGranger Feb 16 '17 at 15:27
-
You may have to do some CSS based adjustments – Rakesh Suryavardhan Feb 21 '17 at 06:10
-
I tried every CSS possible but I couldn't fix the text display. However, I used the qtranxf_generateLanguageSelectCode('image') and I used the language widget inside a sidebar selecting only image, so now it works using the flags. Thanks anyways :) – AdaGranger Feb 21 '17 at 13:33