Show a country with shortcode

This topic contains 6 replies, has 3 voices, and was last updated by  Daniel Cotillas 7 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #445324

    Daniel Cotillas
    Free User
    Post count: 8

    Hi,

    I want to show the view of a country via shortcode but I can´t find how to write it.
    Is there any way to do it?

    Thanks

    #445347

    Alex Rollin
    Moderator
    Post count: 27815

    GeoDirectory creates ‘Location’ pages for each country/region/city and each of those is centered on the listings. All maps center on the listings shown on the map. For example the Chicago page is centered on the listings in Chicago, not Chicago itself.

    There are no settings for centering the map on a specific location except for the Advanced Search option that allows the site to redirect, on first time load, to the default location.

    #445353

    Daniel Cotillas
    Free User
    Post count: 8

    Thanks Alex, so (and excuse me if I´m not understanding well) if I want to show the listings focused on Jamaica in a page like https://comunidad.suelourbano.org/braced-urban-lands-jamaica/ to be shown on the map and not only the listings, is it possible?

    Thanks again!

    #445385

    Alex Rollin
    Moderator
    Post count: 27815

    That depends on whether you can use the gd_listing_map parameters, specifically post_type and category, to show ‘only’ listings that are in Jamaica. If so, then yes.

    https://wpgeodirectory.com/docs/core-shortcodes/#listing

    #445507

    Daniel Cotillas
    Free User
    Post count: 8

    Yes, for the listings is ok but as you see in this page (https://comunidad.suelourbano.org/en/braced-urban-lands-jamaica/) my question is about the map, not the posts.
    No way to show only Jamaica???
    If it can be shown on the advanced search I think there would be any shortcode for this… that would be a MUST have, no doubt!

    #445549

    Kor
    Moderator
    Post count: 16516

    Hi Daniel,

    Thanks for your reply. Could you share your WP admin access here in private reply so that we could take a better look at your setup?

    Thanks!

    #445583

    Daniel Cotillas
    Free User
    Post count: 8
    This reply has been marked as private.
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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount