10+
April 21, 2016
April 21, 2016
Imagine you have to enter information for shops, hotels, or companies… you’d probably need various fields: address, state, suburb, post code, latitude, longitude… Each time you add or edit them, you must enter and check all these fields manually. It’s such a nightmare if you have hundreds or thoudsands posts because it’s slow, time-consuming and sometimes, inaccurate. You’ll need a better way to work with it. All data should auto populate immediately without setup location database.
Instant Locations interacts with Google Maps API and automatically populates location data into your fields. Now you only have to type the desired address, verify it by the auto-suggested addresses from Google Maps API and then select the correct one from dropdown. All other fields’ values (post code, street, state, country, …) will be automatically filled in instantly.
As we mentioned above, all website which need to enter locations data. For exaple: real estate, dating, car parking, restaurant, hotel, tour, coffee shop, local…
It’s not fast, it’s instant.
/wp-content/plugins/instant-locations directory, or install the plugin through the WordPress plugins screen directly.Settings\Instant Locations screen to configure the pluginBelieve us, it’s a really bad idea to setup and maintain location database. This app connect directly to Google Maps service so you can trust.
It only runs when you need. Data is saved in separated table so it won’t create extra records in wp_postmeta and you can deactivate plugin or delete database table any time you want (We hope not) without affected to your website.
il_get_data($post_id, $address_component)
Where
$post_id your post id
$address_component not required. Address component type, it’s a column name, as also defined at Google:
https://developers.google.com/maps/documentation/geocoding/intro?csw=1#Types