How to set up Geolocation

Hello.

I’m from Brasil, a country with 5,569 cities.

I need to register these cities in the “Cities” attribute, so I would like to know if there is any way to do this using some code so that I don’t have to use manual registration, one by one.

Thank you very much.

Hi,

Please try to use our Geolocation extension, you can check this doc: How to set up Geolocation - HivePress Help Center

​I hope this is helpful to you.

Hello, Andrii.
Thanks for your return.
I understood your instructions perfectly and I have already found the path to the solution.
I would also like to know: After I configure the API, will it be possible to remove the location option in the search field on the home page? I would like to use geolocation only to generate the city attributes. Below is an image for help.

Hi,

You can navigate to HivePress > Settings > Geolocation > and remove Listings from
Content Types.