跳到内容

Advanced Custom Fields: Leaflet Map Field

v1.0.0

Unscuzzy · 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+

贡献者

截图

Backend field settings
Backend field settings
Backend field example
Backend field example
Front-end output
Front-end output

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums