- June 17, 2015 at 8:19 am #5020
I’m using plugin Ajax Search Pro with WPML.
When searching in custom post types results are correct: shows results only in current language.
But when searching in taxonomies, gets results of all languages.
I would expect to get results only in current language.
In order to reproduce the error:
go to http://woktowalk.com/new2015/
scroll down up to “Restaurant locator”
You will see lots of “barcelona” taxonomy results. Should show only one.
Thanks for your help.June 18, 2015 at 2:07 pm #5057
I’ve checked the code and it looks like I forgot to include this feature from the term results, that’s why it’s not working.
The only way around this is to make modifications to one of the files.
You will have to open up the following file on your server: wp-content/plugins/ajax-search-pro/includes/search/search_terms.class.php and replace it’s contents with this: http://pastebin.com/raw.php?i=Zq8AWuui
That should solve the problem.Best,
If you like my products, don't forget to rate them on codecanyon :)
June 18, 2015 at 2:20 pm #5058
thanksJune 18, 2015 at 2:26 pm #5059
You must be logged in to reply to this topic.