U.S. Debt Clock Widget
This plugin creates a widget displaying the most recently available amount of the U.S. National Debt.
Maintenance 28/100501d since update
Active installs
100
Downloads
5,776
Reviews
3
Age
11.2y
Tagswidgetsfinancemoneygovernmenteconomy
Plugin info
Total downloads: 5,776
Active installs: 100
Total reviews: 3
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 8/17/2024 (501 days ago)
Added to WordPress: 11/2/2014 (11 years old)
Minimum WordPress version: 2.8
Tested up to WordPress version: 6.6.4
Minimum PHP version: f
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 501 days ago • 3 reviews
28/100
Is U.S. Debt Clock Widget abandoned?
Possibly abandoned (last update 501 days ago).
Compatibility
Requires WordPress: 2.8
Tested up to: 6.6.4
Requires PHP: f
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
World Oil Supply Clock
Rating 5.0/5 (2 reviews) • Active installs 10
Who owns Your Country?
Rating 0.0/5 (0 reviews) • Active installs 10
Description
This plugin creates a widget displaying the most recently available amount of the U.S. National Debt. Data is retrieved from treasurydirect.gov and a source link can optionally be displayed.
Want to help make this plugin better? Pull requests are welcome.
Installation
- Upload the
us-debt-clock-widgetfolder to the/wp-content/plugins/directory - Activate the U.S. Debt Clock Widget plugin through the
Pluginsmenu in the WordPress dashboard - Add the widget to an available widget area and configure the display options
Frequently Asked Questions
No FAQ available
Review feed
No reviews available
Changelog
1.6
- Fix: use newer Treasury debt feed and info URLs, as they did not redirect the old ones.
1.5
- Fix: catch undefined variable scenario
- Improvement: additional code standards and formatting updates
1.4
- Fix: change data source from treasury.io to treasurydirect.gov
- Improvement: code style and formatting
1.3
- Fix: unfortunate math error that had debt displaying as billions, not trillions, h/t Scott Cooper
1.2
- Fix: error in get_debt logic that was preventing successful data from being returned
- Fix: update widget registration to work with recent versions of WordPress
- Improvement: Update code formatting and escaping to better adhere to WordPress coding standards
- Improvement: Delete transient when plugin is deactivated
1.1
- Improvement: Handle invalid data from treasury.io more gracefully
1.0
- Initial release

