Skip Navigation

This topic contains 0 ответов, has 1 голос.

Last updated by ivanB-15 11 месяца назад.

Assigned support staff: Noman.

Автор Посты
30 декабря, 2020 в 12:54 пп #7754393


I created custom post type "Lectors" with ACF custom fields for lecturer profiles.
Lecturer profiles are displayed correctly in all languages.
The problem is when I want to extract some data from "Lectors" using a custom query, eg for Blog Posts using "WP_Query".
Data from "Lectors" are shown only in the basic language, not in the other languages. See: hidden link
I'm not sure if I'm using "WP_Query" correctly or is it better for WPML to use another method, eg global $ wpdb?