change gd_listings post_type when gd_map post_type_filter selection changes

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 1 year, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #542375

    Heather Cole-Mullen
    Full Member

    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

    #542412

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket