描述
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.
屏幕截图
安装
- Copy the entire directory from the downloaded zip file into the /wp-content/plugins/ folder.
- Activate the “Posts map” plugin in the Plugin Management page.
- 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.
评价
此插件暂无评价。
贡献者及开发者
更新日志
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