Store real spatial data with Advanced Custom Fields, using the WP-GeoMeta library.
评级
最后更新
March 4, 2017
版本
0.0.4
活跃安装
100
GeoMeta For ACF

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.

免费使用Creator套餐
活跃安装
100
目前已测试版本
4.7.28
此插件可供下载,可用于您的 WordPress 自托管安装。