WordPress.org

Ready to get started?Download WordPress

Forums

TDD Progress Bar
[resolved] widget html (7 posts)

  1. digitalnordic
    Member
    Posted 2 years ago #

    Is there a way to allow html in the widget description area?

    http://wordpress.org/extend/plugins/tdd-progress-bar/

  2. Taylor Dewey
    Member
    Plugin Author

    Posted 2 years ago #

    I should be able to accommodate that in the next release. Make it behave similar to the text widget.

  3. digitalnordic
    Member
    Posted 2 years ago #

    Thanks! That would be great.

  4. pamw
    Member
    Posted 2 years ago #

    How can I change the order of my progress bars? I have 5 bars and I want them to show up in the order of the events which they relate to and right now they are showing up in the reverse order. I tried changing the order of the ids in the widget but it did not make a difference.

  5. Taylor Dewey
    Member
    Plugin Author

    Posted 2 years ago #

    pamw: They should just be ordering by post date. There's no way to adjust that right now, but I'll add it as something to look into for the next release. https://github.com/tddewey/tdd-progress/issues/11

  6. KramforsBo
    Member
    Posted 2 years ago #

    Hi there, is it possible to implement this great plugin with the crowdfunding plugin by Greg Priday? I want it to show the values from the input from a project made in that plugin automatic, = i dont want to add data in the "TDD Progress bars" Admin. If this is possible it would be great, then i can use just 1 progress bar and it would calculate the percentage from "Funded amount" and "My Wanted Amount".

  7. Taylor Dewey
    Member
    Plugin Author

    Posted 2 years ago #

    I've not used that plugin, but if it allows you to get a specific integer or count, you can set up one of my progress bars and then use the tdd_pb_calculated_percentage filter to adjust the value as described in the FAQ.

    I don't plan on integrating native support for other plugins.

    <?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_calculated_from_plugin
                return $newpercentage;
            }
        ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic