TDD Progress Bar allows you to track the progress of multiple projects. Actually, as many as you’d like. A cool feature is the ability to “race” multiple projects at once. Progress bars are managed in the admin side and displayed using shortcode. Oh, and did I mention it has a very pretty animation?
In the menus, you’ll see a new menu for “Progress Bars” which is what you’ll use to add and manage progress bars. There’s also an area here for settings, but honestly if you never touch them, things will work fine.
After configuring a progress bar, insert it anywhere you’d like with shortcode.
- Simple example:
- Race multiple bars:
- Set the bar’s width:
[progress ids=12,33 width="25%"]
- Set the height of the bar `[progress ids=12 height=”50px”]
- Align Center:
[progress ids=4 width="50%" class="aligncenter"]
Note that “id” and “ids” are interchangeable
Or use the widget which allows you to pick bars to display
Standard plugin installation procedures apply.
- It doesn’t look right..
This project uses some cutting-edge CSS3 to make things look cooler like drop shadow, inner-shadow, border-radius, etc. If it doesn’t look right in your browser first, consider upgrading, second: let me know what browser you’re using to see if I want to consider support. Things should degrade gracefully for non-cutting edge browsers (although IE6 is still going to look like crap no matter what you do). You’re welcome to write your own CSS to override what I’ve already written (or un-check “Default Styles” on the settings page and roll-yer-own). Of course, if it’s supposed to look right and it isn’t, then there may be issue you should let me know about…
- How do I use the filter hook to modify a percentage?
Add this to your functions.php file, or your own plugin.
You can use this to add 10%, like the example above, or do something cool like pull in data from an external API. If you come up with something fun and clever, I’d love to feature it!
No hi ha ressenyes per a aquesta extensió.
Col·laboradors i desenvolupadors
«TDD Progress Bar» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.Col·laboradors
Registre de canvis
- FIX: An issue with the minified CSS resulted in ugly progress bars unless WP_DEBUG was set to true. Thanks to @maximus85018 for pointing it out.
- Fixed an issue where all the shortcodes in the Progress Bar Administration Panel were displaying the same.
- Now allows for two digit precision floating numbers on percentages inputed, calculated, and the start/end values.
- UPGRADE NOTICE: Because of the change to how bars in the widget are selected and stored your widgets will not display properly until you re-configure them. Sorry for any inconvenience, but I thought the new interface was totally worth it.
- Much easier to select bars to display in the widget thanks to Chosen.js.
- Custom Colors! Now possible to set custom colors for each bar using the very nice miniColors color picker
- Lots of sanitization behind the scenes to make the plugin more secure
- Height options. It’s now possible to set the height of the progress bar(s) in the shortcode by passing a CSS height value. See “Usage” for an example
- Progress bars can now be defined using a percentage or two numbers ( x of y ) and let the plugin do the calculation
- The text display on the bar itself can be nothing, the percentage, the two numbers, or both. The global setting to turn this on and off still exists.
- Changed the checkbox on the admin page to make it clear it is a global “off” switch for bar text, not just percentage.
- Added a filter hook for the percentage being shown. This provides the ability to hook in your own method of calculating percentages. The hook name is
- Fixed: The malformed CSS classes were still present in the minified file causing errors. This has been fixed.
- SVN issue means anyone downloading 0.3.3 may have only received a subset of the files needed. This is a version bump to get around that, no other changes.
- Fixed: Some CSS classes were malformed causing the wrong color progress bar to display.
- Added a description textbox to the progress bar widget. Displays below the progress bar.
- Modified the title tag of the progress bar to include the percentage.
- Added role=”progressbar” and aria hints to the progress bar container
- Fixed an issue where the title of the widget instance wasn’t be included in the widget admin form container header. (confusing, I know). Basically, it’s easier to see what the widgets are when they are all collapsed.
- Props to user ablereach for providing the input for much of this update, specifically the input on accessibility.
- Now loads a minimized and optimized version of the stylesheet when WP_DEBUG == false
- Stylesheet run through prefixr which may broaden browser support for the advanced CSS3 bling I use.
- New Colors! Added Black and Silver to the mix.
- Updates the CSS classes to all be prefixed by tdd_pb. This may break any custom CSS you were using, but it eliminates conflicts with other themes and plugins.
- Adds basic widget functionality making it much easier to add progress bars into widgetized areas.
- fixes an issue where the get_text_domain() function was referencing a non-existant directory and throwing an error
- Fixes an issue where the “quick edit” link (and others) would not show up on the Manage Posts screen.
- Also a version bump to 0.2 (which should have happened instead of 0.1.3)
- Major bug fixes for the CSS to show up in, well, pretty much everything but Chrome. Didn’t realize I was using an unsupported style.
- Small CSS fix for the “Strawberry” color – now shows up correctly
- Quick Edit mode on the “Manage Progress Bars” page now has the ability to change percentage and bar color. No need to specifically edit the progress bar now.
- Added the function tdd_pb_get_bars() function, which could be used in templates, but I’m going to leave undocumented for the moment so If it needs to change, it can. It’s mostly designed for internal use.
- Added [tdd_pb] as a shortcode alias for [progress]. I think most people will use [progress], but I wanted to use [tdd_pb] since it’s all over the code
- Progress bars are now displayed in wp-admin on the “Manage Progress Bars” and the “Edit Progress Bar” screens
- Settings page actually works now
- Settings page now references FILE instead of some arbitrary tag.
- Left some debugging code for the advanced debug bar in the script. Have to remove it to make this thing work.
The first version admin side as well), and remove the action that adds the styles to the public side.
- If you’d like the settings page to work, upgrade.
- Blocking bugfix. Plugin won’t work unless you upgrade
Yes, you should totally upgrade to the first version released…