Skip navigation
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

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

Помечено: 

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

Последнее обновление: felixS-23 1 год, 10 месяцев назад.

При содействии: Bruno Kos.

Автор Записи
21 марта, 2023 на 8:06 дп #13290585

felixS-23

Im wondering if it is possible to connect two post as a translation via a hook or somehow in the functions.php -> background: im getting my post from an external system and creating them. For all the post of my second language im using the action "wpml_set_element_language_details" for moving them to my second language. But the problem is now that they are not connected as a translation with my first langauge. So i can not use the language switcher in the frontend. So somehow i would need to connect the two post ids as a translation in my custom code, is there any possible way?

Тема '[Закрытые] if it is possible to connect two post as a translation via a hook or somehow in the functions.php' закрыта для новых ответов.