This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by Mathieu 1 year ago.

Author Posts
May 29, 2019 at 10:36 pm #3918913


Tell us what you are trying to do?

I'm trying to display a list of custom post type in a custom template. When i switch language, all the posts from all languages are displayed instead of only the current language

May 30, 2019 at 12:54 am #3919269


My issue is resolved now. Thank you!

Needed to add 'suppress_filters' => false, in my wp-query