Polylang code is not given the result in English but it gives ini french

[ad_1]

Hello,

I have a French and English version of my website: https://guide-etudiant-paris.fr

I publish articles in both languages.
So I have an English map and a French map (using WP MAPS PRO from WePlugins) with a personalised taxonomy (using ACF): google_maps (for French version) and google_maps_en (for English version).

The English articles are not displayed on the map (https://guide-etudiant-paris.fr/) whereas the French map works perfectly…

Here is the reponse from the WePlugins:
” Can you please get support from Polylang plugin?
This is a wordpress default query to fetch CPT.
Please ask them why this code is not given the result in English language:
$args = array(
'post_type' => $key,

'posts_per_page' => -1,
'fields' => 'ids',
'suppress_filters' => false, // also tried suppress_filters true
'meta_query' => array($custom_meta_keys),
'post_status' => array('publish'),
);
$wpgmp_the_query = new WP_Query($args);
This query is works with the french language but not work with the English, not given result

Can you please help me?
Best regards

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer