Download GDPR Compliance WordPress Plugin in just $9 today.

So right now I have the map markers being generated by some custom post types as well as a couple custom fields on each. Basically a list of employees assigned to each location. I have the listings being shown under the map, which is basically a list of employees. I’m wondering if there is a way to filter that list of employees under the map to only show the employees related to a location/marker that was clicked on the map?

I see it kind of working like this. You load the page and have a default set of employees loaded. Then you click on a certain location/marker on the map and the employees list changes to only show those from that location. The data is all there I just can’t seem to figure out how to do this. Each employee already has a marker category assigned on their post, along with all the location data to display on the map so it seems like this should be doable.

You do not have permission to view answers

Please login or Register to Submit Answer