Skip Navigation

[Resolved] Business directory to show list of contractors in searched for area

This support ticket is created 5 years, 5 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Author
Posts
#1330873

Tell us what you are trying to do? I have a client that sells wood finishing products. He wants for the website visitors to be able to search the area where they live for a list of contractors in that area that use his products. Can I do this with Toolset and is it hard?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1331035

Hello,

In my opinion, it is possible within Toolset plugins (Types + Maps + Views plugins) easily.

You can try these:
1) Create a custom post type "contractors"
2) Create a custom address field "address" to above post type
https://toolset.com/documentation/user-guides/display-on-google-maps/#map-address-fields
3) Add "contractors" posts, and setup their address field value
4) Create a post view:
- Query "contractors"
- Filter with distance filter by "address" field
https://toolset.com/documentation/user-guides/display-on-google-maps/filtering-and-ordering-map-markers-by-distance/

Then the visitors will be able to click "Use my location" button, search and find nearby "contractors" posts.

#1335145

My issue is resolved now. Thank you!