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

    Ich habe im Logo text, der geändert werden muss beim wechseln der Sprache.
    Ich benutze Polylang um die Sprache zu wechseln. Wie kann ich das Bild ändern?

    #1333132

    Hi,

    Thanks for contacting us!

    You can add following code to bottom of Functions.php file of your child theme – https://kriesi.at/documentation/enfold/child-theme/

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
    $currentlang = get_bloginfo('language');
    if($currentlang=="en-US")
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
    if($currentlang=="de-DE"){
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    If you need help, please post a link of your website and links of logos you would like to use so we can adjust the code for you.

    Regards,
    Yigit

    #1333137

    thank you, that worked perfectly

    #1333141

    Hi,

    You are welcome! Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Logo ändern für weitere Sprachen’ is closed to new replies.