Pods compatible with WPML?
-
Hi. Trying to implement a simple FAQ with Pods. Not using Pods templates at the moment so just a modified query to display the content via our theme.
All worked correctly till we started including content in different languages via our WPML plugin. For some unknown reason, we get mixed content! CPT in Spanish appear in English and vice versa. Only happening with the new Pods CPT for FAQ, post and pages have been working correctly with WPML for years.
Our only change in code is modifying the query which I understand should not affect:
<?php
$posts = get_posts([
‘post_type’ => ‘faq’,
‘post_status’ => ‘publish’,
‘numberposts’ => -1,
‘meta_key’ => ‘order’,
‘orderby’ => [‘meta_value_num’,’modified’],
‘order’ => ‘DESC’
]);
?>The page I need help with: [log in to see the link]
- The topic ‘Pods compatible with WPML?’ is closed to new replies.