Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Finding Users Nearby
This topic contains 4 replies, has 2 voices, and was last updated by Vahl 5 years, 11 months ago.
- AuthorPosts
- October 16, 2017 at 2:03 pm #15178
Hello,
I would like to link Geo My WP and Ajax Search Pro together. Basically allowing me to find Users Nearby. So if someone is searching for a contractor using the Canada Search Bar it world find contractors closet to them
October 16, 2017 at 4:01 pm #15187Hi,
Unfortunately that is not possible, or at least not yet. WordPress does not have any geolocation API that I could be able to use to make search queries on. There are many different GEO plugins, but all use different storage methods, so it is virtually not yet possible to create a solution that would work with most of them. I hope that soon there will be some sort of core feature or at least some sort of standard method that allows this.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 16, 2017 at 4:12 pm #15190Ok! I need the search bar Canada to operate in a certain way. E.g. If you currently type Painting in the search bar every user associated with painting will appear. If you type in Painting Vaughan every user associated with painting still appear. How do i filter out Painting and Painting Vaughan? In other words when i type in Painting all Painting should be displayed but if i type in Painting Vaughan Only Painting Vaughan should be displayed. Please Help Thanks!
-
This reply was modified 5 years, 11 months ago by
Vahl.
October 17, 2017 at 3:38 pm #15199Hi,
You could try changing the keyword logic of the search from OR to AND: https://i.imgur.com/NUUPSTv.png
However for user search this works on a field basis, so all searched works have to be matched within one field. Unfortunately I don’t think there is any other possible solution.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 17, 2017 at 3:58 pm #15201Got it to work! I changed Primary keyword logic to AND…Secondary logic to OR with exact word match. Thanks!
-
This reply was modified 5 years, 11 months ago by
- AuthorPosts
You must be logged in to reply to this topic.