Skip Navigation

[Resolved] Directory search results 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.

This topic contains 2 replies, has 2 voices.

Last updated by lucyD 1 year, 9 months ago.

Author
Posts
#2593581

Hi there

Hopefully just a quick question to help me plan my approach to a project.

I am creating a directory of installers for a trade site and I want to be able to filter search results by radius from a location, e.g. within 10 miles, BUT I do not want to display a map.

Is that possible? I've looked at your directory lessons and it refers to filtering map markers by distance but we just want to do that search and list the results not show them on a map.

I don't need any implementation help - just to know in principle whether that's possible so I can decide whether Toolset is right for this job.

Thank you!
Lucy

#2593625

Nigel
Supporter

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

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

Hi Lucy

It's not necessary to display a map.

You do require the Maps plugin with an active API key for Google or Azure maps so that you can add a functioning address field to your posts.

Then when you create a View to display the posts you add a distance filter. You can include whatever you want in the View output, no need for it to include a map.

#2593723

Perfect - exactly the information I needed. I'll be using Toolset for the project 🙂

My issue is resolved now. Thank you!