Same header is appearing in different language pages in wordpress

I am using Polylang in wordpress with two languages, English and Greek and I face the following issue. I have created 2 headers layouts which are exactly the same, one is in English and one is in Greek and they are linked together with polylang. I have created 2 pages, one in Greek and one in English and they are linked with polylang. The problem is when I set the english version of the header on the English page then the Greek page also gets the english version of the header. If I try to set the greek Header on the Greek page then the English page is set to have the Greek header as well. In general when I try to set the header on one page the other one syncs as well. If I unlink the polylang relation between the Greek and English pages then I am able to set different headers. How can I overcome this?

Comment (0)

You’ll be in good company