Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search in all languages of a site, with a single form
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year ago.
- AuthorPosts
- March 15, 2022 at 10:20 am #37175
Hello,
I have 4 languages on the site, managed with Polylang.
But these 4 languages only concern the pages.
For the posts, I have only one language, French.
My search form only search for posts, that’s what I want.If I place the search form on a French page, everything works fine.
https://www.sophrologiesuisse.com/participer-a-un-cours/liste-de-tous-les-cours/
If I place the search form on a page in another language, it finds nothing.
https://www.sophrologiesuisse.com/de/an-einem-kurs-teilnehmen/So I assume that the search form automatically searches only in the language of the page it is on.
Is it possible to make it search in all languages at once?Sincerely,
Denis
March 15, 2022 at 11:24 am #37179Hi Denis,
Yes – by default the plugin searches the currently active language. If there are no translations, then it may not give you any results.
You can turn that feature off here – and in that case it will search every content regardless of the language.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 15, 2022 at 11:27 am #37180Hello,
Thank you very much for your quick response, that’s exactly the solution!
Sincerely,
DenisMarch 15, 2022 at 1:09 pm #37181You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.