Reply To: WPML translation and search

#8852
Ernest Marcinko
Ernest Marcinko
Keymaster

Thank you for the details. I think I have found a different solution.

Currently I’ve added the following code to your functions.php file:

This basically get’s the language argument that is passed to the search, and adds it to the end of the result URLs. Let me know if this works 🙂

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)