Skip Navigation

[Resolved] Related Posts by Distance

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 27 replies, has 3 voices.

Last updated by Timothy 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2523673

I added a few test posts to the test site, but I don't think this is applicable. Maybe you don't fully understand what I'm trying to do or I didn't explain well. I need to get the 3 closest places to the current cpt in the loop. The test site doesn't do this. If you look at the bottom of this post you can see what I mean where it says "Other Bars Closest to EVA Hut"

hidden link

#2524227

Was there a miscommunication here?

#2526139

Sorry for the misunderstandings, you are asking for sorting the results by a custom address field value, there isn't such kind of built-in feature within Toolset Maps plugin, and I have tried the workaround of the thread you mentioned above:
https://toolset.com/forums/topic/sorting-views-by-distance-to-current-post-geolocation/
It does not work

You can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

#2526171

This doesn't really make sense. In the referenced thread the support specialist says " Ordering by distance from a variable location didn't make it into the most recent plugin release, but we are working on it for an upcoming release. Right now appears it will most likely be included in Toolset Maps 1.6" and that was in 2018.

Are you telling me 4 years later a feature being worked on still hasn't been implemented?

Also if I can output the distance to each place from a place cpt with the shortcode from that thread, which I am doing now, I should be able to order by that number right? Maybe even just using javascript?

And sorry, but if a feature that was being worked on 4 years ago is still not been implemented I'm not going to waste my time creating a feature request. To be honest I've probably made 10 and none have been implemented.... which is worrisome to say the least.

#2527811

Waiting 2-3 days between responses makes me feel less than a special snowflake. So it looks like I'm not going to get much help with this so I'm trying things on my own, and I'm pretty close. As you can see in the link below, in the "Other Bars Closest to Đông Vui" section if you enter the address of this place "246 Nguyễn Đình Chiểu Phan Thiết, Bình Thuận" it does an instant update and shows the 3 closest bars.

hidden link

Which is exactly what I want, but I want that to happen on page load. So with that address basically pre-populated. Can you at least assist with this? It would be super appreciated.

Thanks,

Tim

#2528431

Luo, can you please pass this thread over to another support specialist with more availability? can't deal with the ridiculously slow pace of this. Usually toolset support is spot on, this time not so.

#2528469

Since you are asking for a not-existed feature, it will needs custom codes, I need to check it with our developers, will update here if there is anything news.

#2530397

The issue you didn't take the time to understand the issue from the get-go, you kept on referring me to the test site that was not addressing the issue. And you're no following up at all until I do after several days.

This is terrible support at this point. Unusual for Toolset so I am asking for another specialist PLEASE to step in. Sorry, after a few weeks I've lost patience with you.

#2533547

No, you won't. I will re-open this ticket and request YOU not be the support specialist. Sorry, you took no time or effort to assist after 4 weeks. And ordering based on distance is certainly not a complicated issue.

#2539825

Minesh
Supporter

Languages: English (English )

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

Hi Timothy - Luo is on vacation and this is Minesh here and I'll take care of this ticket. Hope this is OK.

I just understand that you want to sort the post by distance but can you please clarify what posts you want to sort by distance and your expected result and share admin access details so I can review your current structure and guide you in the right direction.

*** 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.

#2539837

Actually this issue was resolved in another ticket, so I'm all set now, thanks.

https://toolset.com/forums/topic/legacy-view/

Tim

#2539857

Minesh
Supporter

Languages: English (English )

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

Ok great - thanks for letting me know.

You're welcome to close the ticket.

#2539859

My issue is resolved now. Thank you!