I have a multi-lingual site. It only allows for one logo. I need a condition that will show the English logo version for the site, unless you are on the french site to show the french version. I found some code on this site but it's not working for me.
Any suggestions?
Basically, show the french logo if the url shows FR at the end. if not, show the english.
<?php
if (strpos($_SERVER["REQUEST_URI"], "www.radarhh.com/stage/fr/") !== 0): ?>
<a href="/" rel="home" id="logo_fr" title="radar Chasseurs De Talents">
<img src="../RadarHeadhuntersFR.png">
</a>
<? else: ?>
<a href="<?php echo get_site_url(); ?>" class="logo" title="radar Headhunters"><img src="<?php the_theme_option("logo"); ?>" alt="" width="<?php the_theme_option("header_logo_standart_width"); ?>" height="<?php the_theme_option("header_logo_standart_height"); ?>" class="logo_def"><img src="<?php the_theme_option("logo_retina"); ?>" alt="" width="<?php the_theme_option("header_logo_standart_width"); ?>" height="<?php the_theme_option("header_logo_standart_height"); ?>" class="logo_retina"></a>
<? endif; ?>