Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Jaco Burger20,807 Points
Google Map on Search Results page
I'm working on a Listing Site.
I'd like the search results to return on a Google Maps page ... I'd also like the site to be able to be searched by region, so if the user search for say, California, all the listings in that region would appear as markers on the page.
I've seen templates, but they're restricted to certain degree.
Can I get a starting point?
Here's what I think I should need.
ACF - Maybe pull in Longitude and Lattitude into a field? Google Maps - Obviously
Have you had a look at the listify theme on theme forest? I have used the jobify theme before by the same developers and it was a very simple set up and has the feature you are suggesting ?
If not I know that the WP Job Manager plugin uses Geo Location on its job listings and it is open on GitHub so you could have a good look at how they are doing it as they are from WordPress so they are most likely doing it in a way WordPress supports well!
Hope this gets you going!