تخطي الملاحة
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)

الوسوم: 

يحتوي هذا الموضوع رد واحد ، لديه 1صوت.

آخر تحديث بواسطة felixS-23 قبل 1 سنة، 8 أشهر.

يساعده: 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 ' مغلق أمام الردود الجديدة.