Keep Address Fields but Not Limit Search Results by Distance

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

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

Open Support Ticket
  • Author
    Posts
  • #510287

    N
    Expired Member
    Post count: 19

    I see that we can now remove the required address fields from all versions of a CPT which implies we no longer need addresses for search/category/listing results.

    I also see that this functionality physically removes the address related fields.

    Is there a way to retain all of the address related fields but no longer have search, category and listing results be affected by the user’s distance?

    #510334

    Kor
    Moderator
    Post count: 16516

    Hi N,

    Thanks for your post. Sorry, I’m not getting this. Could you elaborate a little bit more?

    #510506

    Kiran
    Moderator
    Post count: 7069

    Hi N,

    At the moment it is not possible to use address fields and disable filter by location.

    Here are few options that you can achieve what you asked:
    – Create new custom fields(Address, Country, Region, City, Zip etc) with different field keys.
    – If you are using only one CPT then you can increase distance radius to larger value ex: 10000 so it will cover all the results.
    – Filter SQL query and increase distance value applied in SQL query where clause.

    Let us know.

    Kiran

    #510606

    N
    Expired Member
    Post count: 19

    I have found what works for me, at least in part.

    GD –> Settings –> Locations –> click SHOW ADVANCED, Archive urls : Disable

    Just in case anyone else wishes to remove current location data from being added to their Archive page URLs.

    #510865

    Kiran
    Moderator
    Post count: 7069

    Thanks for letting us know.

    Kiran

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