Forums › Forums › Search & Filter Pro › Problem with Polylang
Tagged: cpt, custom post type, multi language, polylang, translation
- This topic has 4 replies, 2 voices, and was last updated 6 years, 11 months ago by Anonymous.
-
Anonymous(Private) December 7, 2017 at 1:40 pm #146239
Hello!
we have some issues getting the following to work with polylang and search and filter
We have some news (posts) in Swedish and English, a template page using search and filter shortcode as display method.The problem is that when visiting the English version, it shows translated posts and also posts that only exists in Swedish (untranslated posts). The same issue appears when visiting the Swedish version, it shows all Swedish posts plus posts that only exist in English.
I tried to exclude languages from the tags, categories and taxonomies tab. For example: I exluded language id 20 which is Swedish, but after saving the form the exclude field is empty which is weird.
Is there a way to hide untranslated posts from other languages when showing the results?
Also, I had to disable ajax to get any search results at all when using translated search forms. Is there a way to get ajax to work with polylang?
Thanks in advance!
Kind regards, Christoffer
-
AuthorPosts