 mohamedO-5
|
Custom post type is fetched in all languages in any language version of my website while i set it to be translatable
|
 mohamedO-5
|
I think i have fixed the problem by setting supress_filters to false but i don't understand why it wouldn't work if set to true
|
 Marcel
Supporter
Languages:
English (English )
German (Deutsch )
Timezone:
Europe/Madrid (GMT+01:00)
|
Hi,
my name is Marcel and I take over your ticket.
I think i have fixed the problem by setting supress_filters to false but i don't understand why it wouldn't work if set to true
If you have ['suppress_filters'] = true it will disable the WPML filters. For this, you need to go with false. More information about this you can find here: https://wpml.org/forums/topic/get_posts-by-language-and-suppress_filters-false-issue/
Best Regards
Marcel
|