Different Logo Per Language

ZT Started by Zoe Turton · December 27, 2019 at 8:09 pm · 1 reply 0 voices Last reply 6 years, 6 months ago
ZT
Zoe Turton Original poster Member
#1

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?

ST
Spiracle Themes Original poster
#2

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

Join the conversation. Be kind — this is a public forum.

Replying to Different Logo Per Language

By posting, your reply becomes public (unless marked private).