Skip 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 -
- - - - - - -

Часовой пояс сторонника: Europe/Madrid (GMT+01:00)

Помечено: 

Эта тема содержит 0 ответов, имеет 1 голос.

Последнее обновление: angeloL-10 22 часов, 35 мин. назад.

При содействии: Paola Mendiburu.

Автор Записи
7 ноября, 2024 на 10:23 дп #16376183

angeloL-10

Background of the issue:
I am trying to use WPML with a custom theme on my website скрытая ссылка. 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?

Тема '[Закрытые] URLs like /?page_id=10 are not taking me to the right translated page' закрыта для новых ответов.