Sauter la navigation
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

Fuseau horaire du supporter: Europe/Madrid (GMT+01:00)

Marqué : 

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

Dernière mise à jour par angeloL-10 Il y a 3 semaines et 5 jours.

Assisté par: Paola Mendiburu.

Auteur Articles
Novembre 7, 2024 à 10:23 am #16376183

angeloL-10

Background of the issue:
I am trying to use WPML with a custom theme on my website lien caché. I have used this feature on other websites with purchased themes, where links like /?page_id=10 would automatically show the page in the correct language, such as Italian if I am visiting the site in Italian. I am currently using a custom theme and encountering issues.

Symptoms:
When I use a link like /?page_id=10, the page displayed is in English instead of the expected Italian.

Questions:
Why are the translated pages not displaying correctly with my custom theme?
Do I need to use gettext like _e( '/?page_id=10', 'my-domain' ); for custom themes?

Le sujet '[Fermé] URLs like /?page_id=10 are not taking me to the right translated page' est fermé aux nouvelles réponses.