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

    Hi Jan!

    Please add following code to Functions.php file of your child theme in Appearance > Editor

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
    	$lang = pll_current_language('locale');
    
    	switch ($lang) {
        case 'en_US':
            $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
            break;
        case 'af':
            $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
            break;
    	}
    
    	return $logo;
    }

    Please adjust the the logo image url.

    Regards,
    Yigit

    #666275

    Hi Yigit,

    I appreciate your help with providing this code!

    Best regards,
    Jan

    #666296

    Hi!

    You are welcome!
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Different logo for every language’ is closed to new replies.