I’m using the graphene theme and the mqtranslate plugin to make a multilingual website. I have a slight problem with the header. The language on the content changes when I change languages but I also need to change the language on the custom header I made. I’m using a code that would allow me to switch between 2 headers but when I insert it into the header.php it either screws up the location of the site tagline or completely removes it depending on where I put the code.
here is the code I’m using
<?php _e('[:en]<img src="http://mysite.com/header-en.jpg"/>
[:tr]<img src="http://mysite.comheader-tr.jpg"/>'); ?>
and I am using a child theme
Please Help!ModQuote:Don’t edit theme files directly. You could copy header.php over to your child theme and make the changes there
I did that but I forgot to mention itQuote:but the better option is to use a PHP widget and an action hook widget area.
I will try doing that
Edit: I tried doing that, and I am having the same issue. The custom header stays on top of and blocks everything in the header. e.g the site title and tagline and the other widget I have on the header.
You must be logged in to reply to this topic.