• forfavore
    November 5, 2014 at 8:32 pm #100555

    Hi Anna,
    wmpl option to put language flags in one line do not work for this theme, but on their site have a tutorial how to make it.
    So there is function:
    function language_selector_flags(){
    $languages = icl_get_languages(‘skip_missing=0&orderby=code’);
    foreach($languages as $l){
    if(!$l[‘active’]) echo ‘‘;
    echo ‘'.$l['language_code'].'‘;
    if(!$l[‘active’]) echo ‘
    which should be placed in function.php, the code which will show the flags:

    <div id=”flags_language_selector”><?php language_selector_flags(); ?></div >

    and the styling:

    #flags_language_selector img{
    border:1px solid #333;

    My question is where to put the code <div id=”flags_language_selector”><?php language_selector_flags(); ?></div > so to be in top left widget area.
    If it’s possible to put it before the top left widget and after the flags there is a place for widgets, it will be great, if not, only flags.

    Thanks’in advance.

    November 10, 2014 at 2:20 pm #100609


    Thank you for your message.

    For us it works just fine. Please see the help for WPML: http://help.wpresidence.net/#!/WPML

    If you do not manage this, please open a ticket in our ticket system http://support.wpestate.org/.

    Thank you,

You must be logged in to reply to this topic.