WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TDD Progress Bar

Configure and display any number of percent-complete progress bars.

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.

<?php
        add_filter( 'tdd_pb_calculated_percentage', 'change_percentage', 10, 2 );
        function change_percentage($percentage, $id){
            //Only apply to post (bar) ID 120, if it isn't 120, just return
            if ($id != 120)
                return $percentage;

            $newpercentage = $percentage + 10; // add 10% for effort.
            return $newpercentage;
        }
    ?>

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!

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2012-6-2
Active Installs: 600+

Ratings

3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,2,2
100,1,1