Skip Navigation

This topic contains 0 réponse, has 1 participant.

Last updated by ivanB-15 Il y a 1 an et 7 mois.

Assigned support staff: Noman.

Auteur Messages
décembre 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?