Adds a Location field to Advanced Custom Fields. This field allows you to find addresses and coordinates of a desired location.
This is an add-on for the Advanced Custom Fields
WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed
and activated.
The Location field provides:
Enter
. In both cases, Google will find the location and return the coordinates and the complete address, if you want it complete. A marker will be added at the desired location.
https://github.com/julienbechade/acf-location-field
https://github.com/julienbechade/acf-location-field/issues
Make sure you read the Advanced Custom Fields‘s documentation first.
Back-end
The Location field comes with 3 options:
Front-end
Retrieving the value(s) on the front-end differs according to the Map address options.
The Location Field plugin can be used as a WordPress plugin or included in other plugins or themes.
There is no need to call the Advanced Custom Fields register_field()
method for this field.
/wp-content/plugins/
directory.Plugins
menu in WordPress.location-field.php
file in you theme’s functions.php
or plugin file.The Location Field plugin can be used as a WordPress plugin or included in other plugins or themes.
There is no need to call the Advanced Custom Fields register_field()
method for this field.
/wp-content/plugins/
directory.Plugins
menu in WordPress.location-field.php
file in you theme’s functions.php
or plugin file.Make sure you have Advanced Custom Fields installed and
activated. This is not a standalone plugin for WordPress, it only adds additional functionality to Advanced Custom Fields.