Saltar navegación
Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Zona horaria del aficionado: Asia/Karachi (GMT+05:00)

Etiquetado: 

Este tema contiene 0 respuestas, tiene 1 voz.

Última actualización por sluzbyU hace 1 año, 10 meses.

Asistido por: Noman.

Autor Entradas
mayo 30, 2023 at 9:25 am #13737525

sluzbyU

I have defined custom post type on my site. Posts are dynamically created or removed daily depending on data from CRM. Data from CRM contains texts in default language (CZ) and also in English. Im creating a post (wp_insert_post) in default language and set this CPT as "Translatable & use translation if available or fallback to default language". In my template I have conditions for current language and showing text in proper language.So I have only 1 post in default language, but available in both languages

The topic ‘[Cerrado] I have only 1 post in default language, but available in both languages’ is closed to new replies.