RainyShots
v1.0rainypixels · 2011年5月11日 上架
Adds a template function — rs_shots() — that returns an array of the 15 latest Dribbble shots by a player.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,282
- 最近更新
- 2011年5月13日
需要 WordPress 2.9+已测试到 3.1.4
贡献者
截图
This plugin adds a function rs_shots() to WordPress that returns an array of the 15 latest Dribbble shots by a player. The return type of the function is JSON in appropriate PHP type.
The plugin adds an admin screen under Settings > RainyShots that provides a few options such as specifying a player and caching preferences.
Features
- Specify the player
- Returned shots variable is cached for a day by default; this cache duration may be updated in admin settings
- You can manually reset the cache through the admin at any time. This is useful if you post a shot and want it to immediately show up in your template.
Read more about it on my blog.
