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

Supporter timezone: Asia/Karachi (GMT+05:00)

Marcado: 

Este tópico contém 0 respostas, tem 1 voz.

Última atualização: sluzbyU 1 ano, 10 meses atrás.

Assistido por: Noman.

Autor Posts
maio 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 ‘[Fechado] I have only 1 post in default language, but available in both languages’ is closed to new replies.