Viewing 1 replies (of 1 total)
  • in header.php

    <?php 
    $lang = get_bloginfo("language"); 
    
    if ($lang == 'fr-FR') { ?>
    <img class='logo' src='link-to-file.jpg' width='' height='' alt='logo' />
    <?php }elseif ($lang == 'en-EN') {
    <img class='logo' src='link-to-file-en.jpg' width='' height='' alt='logo' />
    <?php }else{ ?>
    <img class='logo' src='link-to-file.jpg' width='' height='' alt='logo' />
    <?php } ?>
Viewing 1 replies (of 1 total)

The topic ‘Logo per language’ is closed to new replies.