
Advanced Custom Fields: Leaflet Map Field
v1.0.0Unscuzzy · 2018年7月4日 上架
Adds a Leaflet map field to the Advanced Custom Fields plugin.
- 正在使用
- 300+
- 评分
- 3.5 / 5
- 累计下载
- 6,209
- 最近更新
- 2018年7月5日
2 条评价需要 WordPress 4.9.6+已测试到 4.5.33PHP 5.6+
贡献者
截图
This plugin adds a Leaflet map field to the Advanced Custom Fields plugin.
Create the backend field
You can add a leaflet map field using ACF like the Google Map field.
Diplay the map in front-end
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
Compatibility
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


