這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Posts in Map

描述

Add short code [gmap] to insert in post a google map with advanced features (overlays, clusters, callbacks, events…) and place geolocalized post (with custom fields) in this map

To view post in map, you use this custom field :
* geolocation : set here GPS coordinates for post
* marker : set here url for marker icon. (optional)

To view map in a post, you use this short code ;
[gmap width=w height=h border=b posttype=p taxonomy=t term=r maxpost=m centermap=c animate=a]

where
* w,h are size of map (default is 500px and 300px)
* b is css-like style for map border (default is brown solid line)
* p is post-type (default is post)
* r is a term for taxonomy t to filter post (default is all post, without taxonomy filter)
* m is max number of post view in map
* c il gps coordinates of centre of map
* a is 0 for not animated marker, 1 for drop marker, 2 for bouncing marker

For more information visit http://gmap3.net/

Javascript by Jean-Baptiste DEMONTE.

Coming soon

  • custom field for post to use area instead marker
  • custom field to use address in geolocalized post instead coordinates
  • short code to view map bottom custom field geolocation

安裝

  1. Upload post-in-map to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. add custom field ‘geolocation’ and ‘marker’ in post that you want view in maps
  4. add short code in post to view map

Its recommended to flush the cache after upgrading.

常見問題

None at this moment.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Posts in Map” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Posts in Map 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.3

  • add icon property
  • bugfix

0.2

  • add shortcode
  • add post geolocation reading

0.1

  • only include js