Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #869818

    Hi There

    We have our website translated in 2 languages. English & Arabic. I have added a custom images in the header (ENGLISH) to display our telephone and also a appointment booking. Is there a way that this image can change when I switch language to Arabic?

    #870572

    Hey,

    Please go to Enfold theme options and switch language and then go to Enfold theme options > Header > Extra elements and replace your content. By switching language in Enfold theme options, you can apply different styling and options for each language :)

    Best regards,
    Yigit

    #870577

    Hi There

    This was a custom header image put in the helper-menu.php file. It is not standerd settings.

    Is there a way to switch images when switching languages?

    Please visit link in private content and see header images : phone number and appointment

    #870590

    Hey!

    You can add conditions as following :)

    function lang(){
      if(ICL_LANGUAGE_CODE=='en'){
        echo 'content in English';
      }
      if(ICL_LANGUAGE_CODE=='es'){
        echo 'content in Spanish';
      }
    }

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.