This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where posts in both Spanish and English are displayed on a Spanish page, despite wanting to show only Spanish posts.
Solution:
We recommend checking the WPML settings for the custom post type (CPT) involved. Here are the steps to follow:
1. Navigate to WPML → Settings → Post Types Translation.
2. Find the custom post type you are working with.
3. Ensure it is not set to “Translatable – use translation if available or fallback to default language”.
4. Change the setting to “Translatable – only show translated items”.
Additionally, ensure that your query does not have the
suppress_filters=false
argument, which can cause posts from the default language to appear.
For more details on handling untranslated content, visit WPML documentation on fallback untranslated content.
If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum.
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 3 replies, has 0 voices.
Last updated by 2 months, 3 weeks ago.
Assisted by: Andrey.