• Hi there!

    I’m using My style theme and using this code to change an image(text) to each language:
    <?php
    if (ICL_LANGUAGE_CODE == ‘en’) { ?>

    <center><img src=”url
    ” alt=”” height=”1500″ width=”450″></center>
    <?php
    } else if (ICL_LANGUAGE_CODE == ‘lv’) { ?>
    <center><img src=”url
    ” alt=”” height=”1500″ width=”520″></center>
    <?php
    } else if (ICL_LANGUAGE_CODE == ‘ru’) {?>
    <center><img src=”url
    ” alt=”” height=”1500″ width=”520″></center>
    <?php
    }
    ?>

    What do you need to edit to get the logo’s to change selecting different languages?

    This is the header code for logo.
    <?php
    $logo = esc_url( get_template_directory_uri() . ‘/images/logo.png’ );
    if ( isset( $woo_options[‘woo_logo’] ) && $woo_options[‘woo_logo’] != ” ) { $logo = $woo_options[‘woo_logo’]; }
    if ( isset( $woo_options[‘woo_logo’] ) && $woo_options[‘woo_logo’] != ” && is_ssl() ) { $logo = preg_replace(“/^http:/”, “https:”, $woo_options[‘woo_logo’]); }
    ?>
    <?php if ( ! isset( $woo_options[‘woo_texttitle’] ) || $woo_options[‘woo_texttitle’] != ‘true’ ) { ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Logo change on different language’ is closed to new replies.