Polylang code is not given the result in English but it gives ini french
-
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 regardsThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.