GD Location Switcher – hiding cities

This topic contains 5 replies, has 3 voices, and was last updated by  Kiran 7 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #351173

    Benjamin Schmitz
    Expired Member
    Post count: 59

    Hello,

    I’m using a shortcode for displaying locations on one of our pages. [gd_location_switcher]

    There is one problem with this shortcode and I wonder if it can be tweaked a bit.

    By default, there are two columns when the page opens, first column shows the states and second one the cities.
    The problem is that on the first load, no state is selected and ALL cities are shown, from all states. We have a bit over 22.000 cities preloaded, so opening this page with no selection made is quite slow and the list is huge.

    Is there any way to make the cities list not showing if the state is not selected first? Or other solution, having a default state selected? That would decrease the city list size.

    Hope that makes sense, thanks!

    #351211

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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!

    #351294

    Benjamin Schmitz
    Expired Member
    Post count: 59
    This reply has been marked as private.
    #351874

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    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!

    #352410

    Benjamin Schmitz
    Expired Member
    Post count: 59

    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!

    #352967

    Kiran
    Moderator
    Post count: 7069

    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 6 posts - 1 through 6 (of 6 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