Skip Navigation

[Resolved] Google map distance distance filter not working for usermeta

This thread is resolved. Here is a description of the problem and solution.

Problem:
The new distance filters introduced with Maps 1.4 doesn't work for user meta address fields.

Solution:
Custom search Views are only available for posts, not for users, and so no filters can be added to a Users View, including the distance filter.

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by Jeffrey 6 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#600685

Hello, I am trying to display the markers compare to the post usermeta fields on map using distance feature. in google map plugin that I can see a radio option to choose usermeta field or type field. but doesn't see it on distance, similarly, the marks which compared with usermeta doesn't show on map view. it should be a small flaw, how can I do that? Thank you!

#600767

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Jeffrey

The distance filter is part of the Views custom search functionality to add front-end filters.

This is only available for posts, not user or taxonomy Views.

We have an existing feature request to add custom search to users, and I will add your voice to that request.

Until custom search is added to users, filtering users by distance will not be possible I'm afraid.

#601359

Thank you Nigel. Got it, I am looking forward to hearing a good new from you guys. Thank you so much and Happy holiday!