How to set default Custom Post Type that will show on large map

This topic contains 6 replies, has 2 voices, and was last updated by  Guust 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #456410

    awakeningearth
    Expired Member
    Post count: 48

    Hello!

    Simple question, I have set up a few custom post types, communities, places, Healers & Therapists etc
    And I am using this as my code

    [gd_map width=”100%” height=”425px” maptype=”ROADMAP” zoom=”0″ map_type=”directory” post_settings=”1″ search_filter=”1″ post_type_filter=”1″ cat_filter=”1″ child_collapse=”1″]

    Not sure where settings are to set my default CPT !! as its stuck on places by default.

    Thanks

    #456460

    Guust
    Moderator
    Post count: 29970

    You can set the order at GD > Settings > Post Types > edit each one and change the order.

    Thanks

    #456467

    awakeningearth
    Expired Member
    Post count: 48

    Hi
    Thanks, Ive got that done and got the custom post order all sorted “Communities” is number one yet the problem still is that my main maps default post when you visit the page is “places”

    Added attachment to this 🙂

    #456469

    awakeningearth
    Expired Member
    Post count: 48

    Also worth noting its not the location page im talking about but using my own short-code (in original post) to display big map on my home page.

    #456472

    Guust
    Moderator
    Post count: 29970

    Try adding

    post_type="gd_communities"

    or whatever your post type is called.

    Thanks

    #456560

    awakeningearth
    Expired Member
    Post count: 48

    Perfecto!

    Thankyou very much, works just fine 🙂

    #456616

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

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

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

Open Support Ticket