Hi,
I am using the CPT add-on with two custom types. On the locations page, I have the post_type_filter option turned on, and I am displaying these 2 shortcodes:
[gd_map width=”100%” height=”425px” maptype=”ROADMAP” zoom=”0″ map_type=”directory” post_settings=”1″ post_type_filter=”1″ scrollwheel=”1″ marker_cluster=”1″]
[gd_listings title_tag=”h3″ post_type=”gd_place” add_location_filter=”1″ sort_by=”az” with_pagination=”1″ top_pagination =”1″ bottom_pagination=”1″ hide_if_empty=”1″ layout=”0″ post_limit=”10″]
When users change the CPT on the map, I would like to display the other post_type in the listings. So my question is: How can I do that? I know how to create a shortcode for the other post type in general, but not how to have it change when the map selection changes.
Any pointers or suggestions would be helpful. I can put together a code snippet if needed, if you can point me to the right place.
Thanks,
Heather