Reply To: WPML translation and search

Ernest Marcinko
Ernest Marcinko

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 🙂

Ernest Marcinko

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