Skip Navigation

[Resolved] Distance ordering doesn't work

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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Minesh 1 year, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2555647

I'm trying to order a view by distance from user location.
But it doesn't order them by distance

you can see it here: hidden link

It also doesn't display distance value

you can also see this page where distance value appears:
hidden link

#2555687

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I've checked the following page you shared: hidden link

I do not see any distance value - maybe as I'm not within your preferable location?

Can you please share what is your expected result and admin access details with problem URL.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2555733

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

you will require to wrap the [toolset-maps-distance-value] shortcode with [wpv-geolocation] shortcode as given under:

[wpv-geolocation][toolset-maps-distance-value origin_source='visitor_location' postmeta='wpcf-indirizzo-evento'][/wpv-geolocation]