Skip to content Skip to sidebar

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

Problem:
If you're experiencing issues where the header and footer do not appear on translated pages using FSE pattern templates, it might be due to incorrect template assignment.
Solution:
First, ensure that the templates are correctly translated and check if they are assigned properly to the translated pages. This issue often arises when templates share the same slug or have very similar names. For more details, you can refer to our documentation on this known issue at https://wpml.org/errata/template-is-not-applied-to-translated-page/.
In the specific case addressed, we manually edited the second language homepage and assigned the correct template, which resolved the issue. If you add a new language, you might need to manually assign the correct template to the translated pages as well. A permanent fix is planned for WPML 4.10.
.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at 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.

Tagged: 

This topic contains 14 replies, has 0 voices.

Last updated by Raul Pina 1 week, 3 days ago.

Assisted by: Dražen.

Author Posts
February 25, 2026 at 3:46 pm #17852229

Raul Pina

Translated pages doesn't doesn't show header and footer.

February 25, 2026 at 5:13 pm #17852545

Kor

Thanks for your patience.

I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

March 2, 2026 at 7:09 am #17863351

Kor

Thanks for your reply. I'm getting the error shown in the attached screenshot. Could you temporarily disable the restriction so that I can check?

Screenshot 2026-03-02 at 3.06.41 PM.png
March 2, 2026 at 11:37 pm #17866483

Raul Pina

Hello!
Where this error appears?

March 3, 2026 at 6:58 am #17866780

Kor

Thanks for your reply. It's appearing when I try to access the login link. Could you temporarily deactivate the LiteSpeed plugin so that I can login to your Website to check?

March 3, 2026 at 9:17 am #17867367

Raul Pina

Hello.
I don't have any cache plugin. I tried yours login access and it worked.
Could you try again?
Thanks

March 3, 2026 at 11:51 am #17868088

Kor

Thanks for your reply. The blockage is from your server side as shown in the attached screenshot. Could you check with your hosting provider?

Screenshot_183.png
March 3, 2026 at 12:52 pm #17868454

Raul Pina

Hello. Sorry.
You should be able to access it now.

March 4, 2026 at 9:52 am #17871282

Raul Pina

Hello.

Any update?
Thanks 🙂

March 4, 2026 at 10:20 am #17871422

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

Thank you for your patience, and I apologize for the delay.

I can see that you are using FSE pattern templates for the header and footer, and that they are translated, so this part should work correctly.

The thing I am not sure about is, how is this template assigned to the homepage?

Is this being set somewhere in the code? If so, that could be the reason for the issue. For example, when I switch to the Twenty Twenty-Five theme, I can see that the default header is used for both languages.

Could you please check and let me know.

Regards,
Drazen

March 4, 2026 at 11:06 am #17871575

Raul Pina

Hello. Thanks for the reply

The header and footer on the pages still not appear (I used a template Paginas - Pages).
Please check the original and translated language (the switcher is on the bottom page).

The homepage is a template (pagina inicial) (check attach)

Thanks

Captura de ecrã 2026-03-04, às 11.04.38.png
Captura de ecrã 2026-03-04, às 11.03.01.png
March 4, 2026 at 11:35 am #17871678

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

Thank you for your reply.

I checked the issue further and it seems that the correct template was not assigned to the translated page. This is a known issue that can happen when templates share the same slug or have very similar names. You can read more about it here:

- https://wpml.org/errata/template-is-not-applied-to-translated-page/

In your case, I manually edited 2nd language homepage and assigned the correct template. After doing this, the header and footer now appear correctly.

Please check on your side and let me know if any further questions.

Regards,
Dražen

Edit-Page-“Homepage”-‹-FJMOURÃO-—-WordPress-03-04-2026_12_32_PM.jpg
March 4, 2026 at 12:40 pm #17871887

Raul Pina

Hello again.

Thanks for your help. The homepage is ok. DO I need to do something if I had a new language?

About the other pages, the header/footer still not appear.

March 4, 2026 at 1:03 pm #17872008

Raul Pina

I tried delete the translated header template but it doesn't show that option.

Captura de ecrã 2026-03-04, às 13.02.17.png
March 4, 2026 at 1:43 pm #17872116

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello Raul,

Thank you for your reply.

When you add a new language, and if the template is not automatically assigned to the translated page you will need to manually fix it as I have mentioned above. The fix is currently planned for WPML 4.10.

Regarding the header template, please do not delete the translated templates. The templates must exist and be translated in order for the header and footer to work correctly across languages.

To make it clearer, I recorded a short video showing the steps I followed to fix the homepage and how to assign the correct template to translated pages.

- hidden link

Please check the video and let me know if any doubts.

Regards,
Dražen