Different Logo Per Language

Zoe Turton December 27, 2019 at 8:09 pm

Hello! I’d like to update my child theme so that I can have different logos for different languages on my site. I found a call to krystalpro_the_custom_logo() in template-functions.php, but am having trouble finding the definition of function to modify it in my child theme. Do you know where I can find it?

Replies (1)

  1. Zoe Turton December 27, 2019 at 8:09 pm

    Hello! I’d like to update my child theme so that I can have different logos for different languages on my site. I found a call to krystalpro_the_custom_logo() in template-functions.php, but am having trouble finding the definition of function to modify it in my child theme. Do you know where I can find it?

  2. Spiracle Themes December 28, 2019 at 2:59 am

    Hi Zoe,

    The above function uses the_custom_logo function of WordPress to show the logo. You can find the function inside the template-tags.php file (krystalpro/inc/template-tags.php). For showing the different logos for each language you have to modify or probably add few lines of code yourself.

    For instance:- There is an article about it having different logos using Polylang

    https://www.radu-c.com/how-to-use-a-different-logo-for-each-language-with-polylang/

    Let us know if you have any questions

    Best Regards

Post a Reply

Reply To: Different Logo Per Language
Your information: