We'll create fresh WordPress site with Advanced Custom Fields: Leaflet Map Field installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin adds a Leaflet map field to the Advanced Custom Fields plugin.
You can add a leaflet map field using ACF like the Google Map field.
Uses the classic ACF get_field('field_name')
function to get field data (lat, lng, address & zoom).
Warning, the get_field()
function does not display the map itself, for this, use the leaflet js map documentation directly
This ACF field type is compatible with:
* ACF 5 only (Pro & Free)
NB: If you’re using the ACF 4 Free version, you can upgrade to version 5 step by step on this page