该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Posts map

描述

The plugins uses a short tag posts-map to add the grilled image, and you can add all the blog post icons using its rows and columns.
The icons can be personalized with custom field map_icon.

Usage :
[posts-map image=’image_url’ rows=10 cols=15 name=’map_name’ grid=1 gridcolor=#FF00FF ]Map Title[/posts-map]

where :
1. image : url to image fo map
2. rows : number of rows to slice the image
3. cols : number of columns to slice the image
4. name : name of maps (used to add more maps in your blog)
5. grid : width (in pixel) of map grid (no grid if don’t use a option)
6. gridcolor : color for grid
7. Map Title : title writed on top of map

To put an icon into a map named ‘map_name’, insert two customfields ‘location’ and ‘map_icon’ to set the coordinates and the permalink of the icon.

屏幕截图

  • create a post with a map smart-code
  • create some post “localized” with a custom field
  • view a map in post created

安装

  1. Copy the entire directory from the downloaded zip file into the /wp-content/plugins/ folder.
  2. Activate the “Posts map” plugin in the Plugin Management page.
  3. Add the shortcode [posts-map ] to the page(s) of your choice.

常见问题

no question, today

WARNING : in some browser cell-width is rendered in 16px multiplier, independent of image size. I suggest use image width 16px multiple

send me your question.

评价

此插件暂无评价。

贡献者及开发者

“Posts map” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Posts map”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1.3

  • rewrite file readme
  • insert grid option

0.1.2

  • Detail description
  • Resolved some cell size problem
  • Use style in tag (some template override class-defined style)

0.1.1

  • first release