Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #483374

    Hi,

    We use the plugin “polylang” to translate our website, everything is working fine except that I’m not able to translate the phone number and extra info which appear in the header.

    I saw this function to change the logo depending on the language :

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(ICL_LANGUAGE_CODE=='en')
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        elseif(ICL_LANGUAGE_CODE=='tr')
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    But I’m not able to find the same function for the phone info.

    Thanks.

    #483380

    Hey insia!

    Do you mind creating a temporary admin login and posting it here privately? Also, please post the phone text for each language.

    Best regards,
    Yigit

    #483386

    Yigit,

    The site is not publicly available right now.
    It should be online by the end of the day, I’ll then send you the details for the login.

    #483388

    Hey!

    Sure, we will be waiting to hear from you :)

    Best regards,
    Yigit

    #483942

    Yigit,

    Please find the info to connect.

    #483954

    Hey!

    Changes are done. When you go to Enfold theme options > Header > Extra Elements you will see that i have wrapped your text around span tags with custom classes. You can adjust the text as needed. Please review your website now

    Cheers!
    Yigit

    #483974

    Wouha! Many thanks.

    Now I know why I paid for a wordpress theme ;)

    #483976

    Hi!

    You are welcome, we are always happy to help :)
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Header phone translation’ is closed to new replies.