https://github.com/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.
https://github.com/sigafoos/progress-thermometer-wordpress-plugin
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/sigafoos/progress-thermometer-wordpress-plugin
- Owner: Sigafoos
- Created: 2011-06-09T18:28:15.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-02T15:34:46.000Z (about 13 years ago)
- Last Synced: 2025-03-21T12:57:34.895Z (3 months ago)
- Language: PHP
- Homepage: http://blog.danconley.net/progress-thermometer-wordpress-plugin
- Size: 105 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Progress Thermometer plugin
By Dan Conley
[email protected]
http://blog.danconley.net/progress-thermometer-wordpress-plugin
Originally developed for Community Beer Works: http://www.communitybeerworks.comUPDATES
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.