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:
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.
- Activate the plugin through the ‘Widget’ menu in WordPress by dragging it to your Dynamic Sidebar
- Then provide a file path or URL to the .csv file that contains your quotations
Contributors & Developers
“Simple Random Quotation” is open source software. The following people have contributed to this plugin.
Interested in development?
Trying to widgetize the thing and get admin options working
This is the first attempt to get this working.