Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client needs to set up different headers and footers for each language on their site using WPML and Elementor's Theme Builder. They encountered an issue where all languages displayed the Portuguese header and footer despite setting up translated versions for other languages.
Solution:
If you're experiencing issues with setting up different headers and footers for each language on your site, we recommend the following steps:
1. Ensure that the Display condition for the Translated Header and Footer is set to "Entire Site" for each language.
2. Link the translated header and footer templates to the main template using WPML's Translation Management. You can find guidance on this process in our documentation here: https://wpml.org/faq/how-to-link-already-translated-pages/.
3. After completing these steps, clear the caches from your site and browser to ensure the changes take effect.

If this solution doesn't seem relevant to your situation, please open a new support ticket with us for further assistance: WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 5 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 15, 2023 at 8:36 am #14805513

giuliag

Hi, I have a problem with WPML and Elementor's Theme Builder. I need to have different headers and footers (not just translated) for each language on the site: Italian, Spanish, English, and Portuguese (main language).

I created headers and footers in the main language (Portuguese) using Theme Builder. Then, I switched languages from the backend and, in the secondary language, I created another translated and different header and footer.

I set "display conditions" to show nothing for secondary languages and "entire site" for the main language. I then went to WPML -> Translation Management and linked the 3 secondary language templates to the main one. It didn't work; I still see everything in Portuguese.

Now I've reverted to a backup, and I'm at the point where I have 4 different headers and 4 different footers set without display conditions, not yet connected through WPML -> Translations. Can you help me?

November 15, 2023 at 2:34 pm #14810055

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

The Display condition for the translated header/footer template should also be set to "Entire Site." This ensures that the correct template loads across the entire site when the other language is active. If you're manually creating different headers and footers, follow these steps:

- Set the Display condition for the Translated Header and Footer to "Entire Site."
- After setting the conditions, link the translated header and footer template to the main template. You can follow the instructions in this documentation for guidance: https://wpml.org/faq/how-to-link-already-translated-pages/.

I hope it will help to solve the issue. Before checking, make sure to clear the caches from site and browser as well.

Let me know if that helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit