Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search only in posts of current language (WPML) › Reply To: Search only in posts of current language (WPML)
Hi!
It looks like that the problem there is with the permalinks, they are missing the ‘/en/’ part for some reason. By default the plugin searches only the currently active language. The items I see are translated, but the link is not completely correct, which is odd, because it’s requested from WPML directly.
Anyways, I beleieve this could be possible to fix with a small custom code snippet easily.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!
If you need any help with this, just add temporary FTP details to your ticket, and I will add this code for you.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)