跳到内容

Phototools: geo2wp

v1.4

jondor · 2018年5月12日 上架

Geotools for WP, replaces and extends "GPS MAP Widget". Part of the phototools plugins

正在使用
10 以下
评分
暂无
累计下载
1,507
最近更新
2018年12月19日
需要 WordPress 3.0.1+已测试到 5.0.32PHP 5.6+

贡献者

截图

GEO indicator in the postlist
GEO indicator in the postlist
GEO indicator in the medialist
GEO indicator in the medialist
Settings screen
Settings screen
Map on media editscreen
Map on media editscreen
Map op post editscreen
Map op post editscreen
Widget on single photo page
Widget on single photo page
GeoRSS in feed
GeoRSS in feed

This plugin is a replacement for my old “GPS MAP Widget” plugin with the following options:

  • In the “media” list view there’s a new column which shows the availability of GEO data
  • When GEOdata isn’t found yet, it checks the imagefile for the EXIF geodata and stores it in the metadata
  • The old metadata used by GPS MAP Widget is recognized and translated in the current system.
  • In the POST/PAGES overview a new column is presented with the featured image. Geodata is presented with an overlay icon.
  • The media/post/page edit screen shows the location map in a metabox when a featured images with geodata is available.
  • A widget “geo2wp map” is available.
  • Two shortcodes are available: EXIF_locationmap and EXIF_location. See below for the usage, which is exactly the same (oh well, minus the api key)as under GPS MAP Widget.
  • GeoRSS can be added to the feed (default: yes)
  • The widget is only show when there’s something to show. This also goes for the shortcode, when there’s no data to show, nothing is shown.
  • geo2wp handles the geodata as described in https://codex.wordpress.org/Geodata and as such should be compatible with other systems using these metadataa fields.
  • Every item in the medialist now has an option to reload the exif geo info.
  • In the media screen you can also bulk reload exif geo info
  • On the media edit screen the message in the widget, when no map can be shown, is clickable an tries to reload the exif geo info.

EXIF_locationmap:

  • width: width of the map image in px. default 300px
  • height: height of the mapimage in px. default 200px;
  • zoom: googlemaps zoomlevel. Default 11
  • Errors: Show error messages when no exif is available or when there’s no featured image. Default is false for the shortcode

Example:
[EXIF_locationmap width=750 height=300 zoom=11 errors=false]

EXIF_location:

  • part: ‘latitude’, ‘longitude’ or ‘both’
  • form: ‘dec’ or ‘dms’ (decimal or Degree minute seconds. Decimal is default);

example:
[EXIF_location part=both]
will return 52.22935055,6.8737411

[EXIF_location part=both form=dms]
will return  52°21'13"N , 6°26'7"N

Plums

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

导航

说明

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

© 2026 Plums