Location pages not working

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

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

Open Support Ticket
  • Author
    Posts
  • #515303

    Luca
    Expired Member
    Post count: 23

    Hi! I’m trying to get our location page at https://plantswap.org/listing-locations/united-states/new-york-1/new-york-1/ to just show listing in NYC. The map seems to work okay, but the loop shows ALL the listings, not just NYC ones. Our GD Search Page template has the following shortcodes:

    
    
    [gd_notifications]
    [gd_map map_type='directory' width=100% height=400 search_filter=1 cat_filter=1 post_type_filter=1]
    [gd_search]
    [gd_listings post_limit=10]

    I’m not sure what I’m doing wrong. Could you please advise with how to get the results loop below the map to only display the listings ON the map, relevant to that location page?

    Thanks!

    #515305

    Guust
    Moderator
    Post count: 29970

    Add a directory map instead of an archive map, and enable the location filter.
    You can find the correct code in the default for the location page at GD > Settings > Pages > Location page > default

    Thanks

    #515351

    Luca
    Expired Member
    Post count: 23

    Thanks. It is already a directory map, and adding the location filter fixed the issue… I’m 100% certain that it was working properly before though, so I have no idea what happened. Either way, thanks!

    #515429

    Guust
    Moderator
    Post count: 29970

    You’re welcome.

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

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

Open Support Ticket