Skip to content

jensjns/acf-leaflet-field

Repository files navigation

ACF Leaflet field

The latest stable release can be found here. Description

Addon for Advanced Custom Fields that adds a Leaflet map-field to the available field types.

Installation

  1. Upload acf-leaflet-field to the /wp-content/plugins/ directory.
  2. Make sure you have Advanced Custom Fields installed and activated
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Add a Leaflet field to a ACF field group and save
  5. The field is now ready for use

Instructions

Use the_leaflet_field( 'my_leaflet_field' ); where you want to render the map.