跳到内容

GeoMeta For ACF

v0.0.4

Michael Moore · 2016年11月29日 上架

Store real spatial data with Advanced Custom Fields, using the WP-GeoMeta library.

正在使用
100+
评分
暂无
累计下载
4,161
最近更新
2017年3月5日
需要 WordPress 4.4.0+已测试到 4.7.40

截图

You can select the GeoMeta field type within the ACF field group like you would expect. You can choose one of three options for how users will enter spatial data.
You can select the GeoMeta field type within the ACF field group like you would expect. You can choose one of three options for how users will enter spatial data.
The most likely option is to display a map with drawing tools. Editors can add, edit and delete shapes on the map.
The most likely option is to display a map with drawing tools. Editors can add, edit and delete shapes on the map.
If your users expect to be able to enter latitude and longitude, you can opt to capture those instead. The value is saved to the postmeta table as GeoJSON.
If your users expect to be able to enter latitude and longitude, you can opt to capture those instead. The value is saved to the postmeta table as GeoJSON.
You can also allow editors to paste in raw GeoJSON text if that better meets your needs.
You can also allow editors to paste in raw GeoJSON text if that better meets your needs.

GeoMeta for ACF is an easy way to store location information about posts, pages,
users or other content types that ACF supports. The default input is a map
with drawing tools to let the user draw markers, lines and polygons.
Alternatively you can accept latitude and longitude values, or raw GeoJSON
text.

GeoMeta for ACF supports for both ACF version 4 and 5.

Why use GeoMeta for ACF instead of one of the other map inputs for ACF?

GeoMeta for ACF uses WP-GeoMeta under the hood, which means that you’re
actually storing spatial meta data, not just text. With the WP-GeoMeta library
you have access to all of the spatial functions MySQL supports to search and
filter your WordPress posts and users.

Compatibility

This ACF field type is compatible with:

  • ACF 5 / ACF Pro
  • ACF 4

Note

Metavalues for terms (Categories/Tags) were stored in wp_options up until ACF
Pro 5.5.0. GeoMeta for ACF will still display a map or other input field for
terms in previous versions of ACF, but since the values aren’t stored in the
wp_termmeta table, they won’t be picked up for inclusion in the spatial table
and spatial searches on them will fail.

Plums

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

导航

说明

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

© 2026 Plums