Hello WPML Support Team,
We are experiencing an issue with our multilingual WordPress website using WPML.
Environment
WordPress
WPML (latest version)
ACF (Advanced Custom Fields)
Custom Post Type: Blog
Default language: English
Secondary languages: French, German
Issue
When a new blog is created in English and translated using the WPML Translation Editor (pencil icon), the translation is completed successfully.
The translated post:
is Published
has a valid translated URL
opens correctly when switching languages from the English post
appears in search results
However, it does not appear on the translated blog archive page (e.g. /fr/blogs/).
The post only becomes visible on the archive after opening the translated post in the native WordPress editor and clicking Update, even without making any changes.
This happens with every newly translated blog.
Investigation performed
We confirmed that:
The translated post status is Published.
Categories and tags are assigned correctly.
The translated URL works.
Search can find the translated post.
The issue only affects the archive listing.
Our archive uses a custom query similar to:
$args = array(
'post_type' => 'blog',
'post_status' => 'publish',
'meta_query' => array(
array(
'key' => 'news_data_featured_latest',
'value' => array('no')
),
),
'lang' => apply_filters('wpml_current_language', NULL),
);
We also discovered that if we remove the meta_query, newly translated posts immediately appear in the translated archive without needing to update the translated post.
The archive template also uses ACF Group fields (news_data) and related subfields.
ACF / WPML configuration
The relevant ACF fields are:
news_data (Group)
news_data_featured_latest
news_data_news_favorite
news_data_news_image_size
These fields are managed through ACFML Expert mode, so their translation preferences are locked and cannot be changed from the WPML Custom Fields screen.
Thank you.