cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

multiple taxonomy in Tabbed Term Index #803

Open marcelln opened 6 years ago

marcelln commented 6 years ago

Hi,

Love the plugin. I'm building a site (divi theme) and for the client purposes I need to be able to filter pins on map in relation to different taxonomies.

While I can use the legend to start this I have the issue of it generating a pin per every taxonomy on the "post/project"

Using the Term Index would serve much better as I can set it to display all Items(one category attributed to all projects) at the start and then clicking on any other term would change visible pins based on attributed taxonomies.

I have thought of building a WP_query array for this but since I am creating it inside a Divi Accordion I am limited to shortcodes. My PHP and JS skills are just shy of figuring this out. I have thought of changing the default taxonomy attributed to Tabbed terms to include and array but not sure if this is the best way of going about it or exactly where to do so.

Site: http://dev2.rebelcube.com