Title: U.S. Debt Clock Widget
Author: Chris Hardie
Published: <strong>2. 11. 2014</strong>
Last modified: 17. 8. 2024

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/us-debt-clock-widget/assets/icon-256x256.png?rev=3137149)

# U.S. Debt Clock Widget

 Autor: [Chris Hardie](https://profiles.wordpress.org/chrishardie/)

[Stáhnout](https://downloads.wordpress.org/plugin/us-debt-clock-widget.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/us-debt-clock-widget/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/us-debt-clock-widget/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/us-debt-clock-widget/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/us-debt-clock-widget/#developers)

 [Podpora](https://wordpress.org/support/plugin/us-debt-clock-widget/)

## Popis

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](https://github.com/ChrisHardie/us-debt-clock-widget).

## Snímky obrazovky

[⌊The widget front-end display⌉⌊The widget front-end display⌉[

The widget front-end display

[⌊The widget options configuration display⌉⌊The widget options configuration display⌉[

The widget options configuration display

## Instalace

 1. Upload the `us-debt-clock-widget` folder to the `/wp-content/plugins/` directory
 2. Activate the U.S. Debt Clock Widget plugin through the `Plugins` menu in the WordPress
    dashboard
 3. Add the widget to an available widget area and configure the display options

## Recenze

![](https://secure.gravatar.com/avatar/55cc2ef441581bc830b6780bdc0ba8374bde93dd26cfef7e1d659f2ad5562632?
s=60&d=retro&r=g)

### 󠀁[Great Job, Suggestion](https://wordpress.org/support/topic/great-job-suggestion/)󠁿

 [hawkeeye](https://profiles.wordpress.org/hawkeeye/) 18. 11. 2024 6 odpovědí

This is both useful and easy to configure. My only suggestion would be to allow 
more formatting so that you can match or deviate from your website default.

![](https://secure.gravatar.com/avatar/0fa35ae2887fbeb6bd243399f083899909a64117c206296e57aba11a50594f0c?
s=60&d=retro&r=g)

### 󠀁[Unique plugin](https://wordpress.org/support/topic/unique-plugin-11/)󠁿

 [scottistrand](https://profiles.wordpress.org/scottistrand/) 12. 9. 2021

Great plugin for my gold website.. Thanks!

 [ Přečtěte si všechny 3 recenze ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/)

## Autoři

U.S. Debt Clock Widget je otevřený software. Následující lidé přispěli k vývoji 
tohoto pluginu.

Spolupracovníci

 *   [ Chris Hardie ](https://profiles.wordpress.org/chrishardie/)

[Přeložte “U.S. Debt Clock Widget” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/us-debt-clock-widget)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/us-debt-clock-widget/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/us-debt-clock-widget/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/us-debt-clock-widget/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/us-debt-clock-widget/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 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

## Meta

 *  Verze **1.6**
 *  Poslední aktualizace **před 2 roky**
 *  Aktivních instalací **100+**
 *  Verze WordPressu ** 2.8 nebo novější **
 *  Testováno až do WordPressu **6.6.5**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/us-debt-clock-widget/)
 * Štítků
 * [economy](https://cs.wordpress.org/plugins/tags/economy/)[finance](https://cs.wordpress.org/plugins/tags/finance/)
   [government](https://cs.wordpress.org/plugins/tags/government/)[money](https://cs.wordpress.org/plugins/tags/money/)
   [widgets](https://cs.wordpress.org/plugins/tags/widgets/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/us-debt-clock-widget/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  3 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/#new-post)

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/)

## Spolupracovníci

 *   [ Chris Hardie ](https://profiles.wordpress.org/chrishardie/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/us-debt-clock-widget/)