Multiple header & footers based on market + WPML

Hey,

Say my site has 3 markets. Can I make it so that posts & pages get their local market footer & header?

For example
mysite.com/ <- global market get global footer & header
mysite.com/sg/ <- singapore market get the singapore footer & header
mysite.com/th/ etc…

And I hope it goes without saying I don’t want to manually assign footers & header for every post in each market.

I am using WPML. :slight_smile:

Hello @patrictarnhamn,

Thanks for writing in! Yes, this is possible. You will have to translate your Header and Footer via WPML as well. Kindly check out this documentation resources:

To do this, go to WPML > Translation Options > Custom posts and make sure all custom posts are translatable. Then create your header and footer on your default language. Then edit your header and footer, and you can simply click the flag icon at the bottom cornerstone to edit in specific language and translate the header.

Cheers.

This worked, thanks! :+1:

Glad that we are able to help you

Have a great day!
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.