Change header logo href conditional on page


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.


Any help is appreciated!

Simonas 2 years 2020-12-24T04:10:35-05:00 0 Answers 4 views 0

Leave an answer