Simple Random Quotation
v0.2muskie · 2011年6月15日 上架
This plugin displays a random quotation upon page load pulled from a simple .csv file.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,106
- 最近更新
- 2011年10月26日
贡献者
This plugin displays a random quotation upon page load pulled from a simple .csv file. You can provide any .csv file you like it should be of the format: source, “Quotation”
There are token css classes/ids to allow you to style the quotations however you like. The HTML outputed looks like this:
Dante Alighieri:
There is no greater sorrow than thinking back upon a happy time in misery.
You just need to add a #quotationSource and a #randomQuotation CSS rules or just let the chips fall where they may.
This is my first WordPress plugin it isn’t terribly clever. I eventually looked at the original plugin, hello.php and combined with my experience writing mashups just cranked it out.