I am running a website which is using WPML with WordPress. Hebrew is the default language and it also has English. When I do a search in Hebrew (the default language), I am given search results for my query. However, when I switch languages in the search page, the results seem to disappear. I have installed the plugin “Search Everything” which I have customized to search every custom field.
Is WPML blocking search results from being shown when the language switches?
Is it possible to stop WPML from giving results for Posts?
I have provided the two search result pages below.
This is probably why it’s happening:
See, in the search form on the webpage you gave earlier, there is a line like this:
If you take out that “lang” hidden form input, it might fix your problem.
Reference: