Passer la navigation

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 16:00 10:00 – 14:00 10:00 – 14:00 9:00 – 13:00 9:00 – 13:00 -
- 17:00 – 21:00 15:00 – 19:00 15:00 – 19:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du support : Europe/Bucharest (GMT+03:00)

Ce sujet contient 1 réponse, a 0 voix.

Dernière mise à jour par Mihai Apetrei Il y a 2 semaines.

Assisté par: Mihai Apetrei.

Auteur Messages
juin 16, 2025 à 9:36 am #17137798

silvia

Contexte de la question:
I want to know if our WordPress site uses Twig template files (.twig) and if WPML or any active themes/plugins compatible with WPML rely on Twig.

Symptômes:
No specific issue or error message mentioned.

Questions:
Does WPML or any active themes/plugins compatible with WPML rely on Twig?
How can we identify where Twig is used within our site?

juin 16, 2025 à 9:40 am #17137801

Mihai Apetrei
Partisan de WPML depuis 03/2018

Les langues: Anglais (English )

Fuseau horaire: Europe/Bucharest (GMT+03:00)

Hi there, Silvia.

Thank you for contacting WPML support.

If you added the language switcher through WPML settings, a shortcode, or a widget, there is no need to worry; it will continue to function correctly.

However, if the switcher is implemented directly in your theme's code, you may want to consult the theme author to understand how the WPML language switcher is integrated. Alternatively, if you have the necessary skills, you can check the theme's template files yourself to identify the file responsible for rendering the switcher and verify how it has been integrated. Inspecting with the tool in the browser won’t indicate whether a Twig template has been used.

One important thing you can do is make sure that you have a full website backup for any of your sites, just to be safe in case something breaks. But not many people reported using Twig.

I hope that you will find this information helpful.

Mihai Apetrei

Le sujet « [Fermé] Possible use of Twig template files on our WordPress site » est fermé aux nouvelles réponses.