Skip Navigation

This topic contains 0 replies, has 1 voice.

Last updated by ivanB-15 11 months ago.

Assigned support staff: Noman.

Author Posts
December 30, 2020 at 12:54 pm #7754393

ivanB-15

Hello,
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?
Ivan