`Hi there,
Im using the theme for a multilanguaje site using wpml. im trying to change the logo when the languaje changes. in the heder.php in the header branding div i add the follow code
<header id="branding" >
<?php
/**
* interface_header hook
*
* HOOKED_FUNCTION_NAME PRIORITY
*
* interface_headercontent_details 10
*/
do_action( 'interface_header' );
?>
<?php
if (ICL_LANGUAGE_CODE == 'es') { ?>
<a href="/"><img src="http://.mysite.com/wp-content/uploads/2014/07/logo.png" /></a>
<?php
} else if (ICL_LANGUAGE_CODE == 'en') { ?>
<a href="/en"><img src="http://mysite.com/wp-content/uploads/2014/07/logo_en.png" /></a>
<?php
} else if (ICL_LANGUAGE_CODE == 'de') {?>
<a href="/de"><img src="http://mysite.com/wp-content/uploads/2014/07/logo_en.png" /></a>
<?php
} else if (ICL_LANGUAGE_CODE == 'fr') {?>
<a href="/fr"><img src="http://mysite.com/wp-content/uploads/2014/07/logo_en.png" /></a>
<?php
}
?>
The code i added works just fine, but it shows below the slider. If i erase the do_action( ‘interface_header’ ) code i lose my menu and slider.
I been reading a lot an it seems that exists a heder-extension.php but i dont have that archive in my theme.
How can i fix the problem?
Awsome theme by the way, keep the good work.