Support » Plugin: qTranslate » How to change Header depending on language

  • Hi all,

    I’m working on this website:

    My problem is thus: I need the website header to change whenever I swich language. the English header image is different than the Portuguese header image.

    I tried to edit header.php, but the imager src is not there. (It’s the Oxygen theme)
    I’m using the qtranslate plugin for the language choice thingy.

    Thanks for your help!


Viewing 5 replies - 1 through 5 (of 5 total)
  • siskoto


    Hello Marc,

    I noticed that you have managed to make your header image change according to the language chosen by the user. I’m trying to do the same with my website. I would appreciate if you share with me how you achieved that. Did you use another plugin?





    Hi Silvia,

    Unfortunately I didn’t solve my problem. If you look closely I’ve got two different headers that alternate randomly and with no relation to the chosen language.
    In the WP Dashboard>Appearance>Header I uploaded both headers and chose
    “Random: Show a different image on each page.”
    It’s the best solution I could come up with.



    I’m also working on a site right now that needs this. I was thinking there must be a plugin that will do this???? Did you investigate that? I was also thinking there is probably conditional code that can go in the header.

    I will post if I figure this out.



    I think this will work. I don’t have time to try it today.
    if (is_category(‘es’)){
    else {



    or it might be considered a taxonomy so it would be is_tax

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change Header depending on language’ is closed to new replies.