Sigafoos / Progress-Thermometer-Wordpress-plugin

A Wordpress plugin to display a "thermometer" in a widget with user configurable values. An admin page lets you add and remove steps as well as choose the current step.

Home Page:http://blog.danconley.net/progress-thermometer-wordpress-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Progress Thermometer plugin
By Dan Conley
dan.j.conley@gmail.com
http://blog.danconley.net/progress-thermometer-wordpress-plugin
Originally developed for Community Beer Works: http://www.communitybeerworks.com

UPDATES
5/2/2012
- You can now actually complete the thermometer! I guess I had kind of forgotten that.

- You can enable a gif of the dancing baby when you complete it, if you want. The code is commented out and I'd prefer if you didn't use our bandwidth for it, but it's there because I like dumb things.

ISSUES
- If 1/(the number of steps) doesn't round off to two digits (ie 1/8 = 12.5%) it floats oddly. I've "fixed" this by handling it slightly differently, but the spacing isn't the same. It works but not perfectly.

- Newlines will be treated as a blank step.

About

A Wordpress plugin to display a "thermometer" in a widget with user configurable values. An admin page lets you add and remove steps as well as choose the current step.

http://blog.danconley.net/progress-thermometer-wordpress-plugin


Languages

Language:PHP 100.0%