דלג על ניווט
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, 8 חודשים.

בסיוע: Bruno Kos.

מחבר פוסטים
מרץ 21, 2023בְּ- 8:06 am #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 ' סגור לתשובות חדשות.