Change header logo href conditional on page

Question

Been searching for a solution for this for a couple of days already but nothing seems to work.

I need a function that would change the url of the header logo depending on the page, as I am creating a multilingual website. For example, logo on the English page would return to the English homepage, logo on the German page would return to the German homepage, etc. The logo image itself remains the same.

Site: https://www.lankmeta.lt/

Any help is appreciated!

0
Simonas 1 month 0 Answers 4 views 0

Leave an answer