Dynamic search result display based on map movements

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 5 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #527447

    travis_denley
    Expired Member
    Post count: 8

    The following has been asked before in a closed thread, but I need further clarification on how to add “all_post=1” to the GD Map shortcode used on the search page. Having the map zoom change the listings on the left would be a GREAT upgrade IMO.

    Is there an option to dynamically alter the listings shown following the map view, please?
    I want all the icons to show on the map, with listings in an endless scroll.
    So far, so good. But when changing the map view (zooming in, moving it) the listings in the side-bar remain. Is there a way to use the map view as a facet?

    #527453

    Guust
    Moderator
    Post count: 29970

    Sorry but there is no option for the listings to change as the map is moves.

    I need further clarification on how to add “all_post=1” to the GD Map shortcode used on the search page.

    Have a look at
    GD > Settings > Pages > Search page > Edit, and add the map element [shortcode or block], for example

    [gd_map zoom="0" map_type="archive" all_posts="1"]

    The above setting will not work for all themes, some themes will need the map to be adjusted somewhere else.
    For example, if you are using the Supreme theme, you will need to add it to the /themes/supreme-directory/content-geodirectory-archive.php file.

    Post your URL and WP Admin details in a private reply if we need to have a look at your settings.

    Thanks

    #527517

    travis_denley
    Expired Member
    Post count: 8

    Awesome on the help!I adjusted the PHP and it worked. Would still love the other ability to have map determine the listings. Hope that is on the roadmap.

    Thanks!

    Travis

    #527518

    Guust
    Moderator
    Post count: 29970
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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount