I want to get the city the user is, I know geolocation isn’t completely precise but I would like to get it so I show it as a suggestion to the users.
Is there an easy way to get the users location? With easy I just mean idk copy/paste some code and get the city he is in. I’m using WordPress.
One of the most reliable provider provides that service for free, e.g.
Result would be
From PHP
Then with some text processing you can get the city easily.