Passer la navigation

[Résolu] Distance ordering doesn't work

This support ticket is created Il y a 2 years, 6 months. 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
- 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 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Minesh Il y a 2 years, 6 months.

Assisté par: Minesh.

Auteur
Publications
#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: lien caché

It also doesn't display distance value

you can also see this page where distance value appears:
lien caché

#2555687

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I've checked the following page you shared: lien caché

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

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Can you please check now: lien caché

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]