• vi54

    (@vi54)


    Hi, how do I set a logo per language please?
    Thank you.

Viewing 1 replies (of 1 total)
  • listblank

    (@listblank)

    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.