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

---

Søk i utvidelser

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

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

# U.S. Debt Clock Widget

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

[Last ned](https://downloads.wordpress.org/plugin/us-debt-clock-widget.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/us-debt-clock-widget/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/us-debt-clock-widget/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/us-debt-clock-widget/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/us-debt-clock-widget/#developers)

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

## Beskrivelse

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).

## Skjermbilder

 * [[
 * The widget front-end display
 * [[
 * The widget options configuration display

## Installasjon

 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

## Vurderinger

![](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. november, 2024 6 svar

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. september, 2021

Great plugin for my gold website.. Thanks!

 [ Les alle 3 vurderinger ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/)

## Bidragsytere og utviklere

«U.S. Debt Clock Widget» er programvare med åpen kildekode. Følgende personer har
bidratt til denne utvidelsen:

Bidragsytere

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

[Oversett “U.S. Debt Clock Widget” til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/us-debt-clock-widget)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/us-debt-clock-widget/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/us-debt-clock-widget/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/us-debt-clock-widget/)
med [RSS](https://plugins.trac.wordpress.org/log/us-debt-clock-widget/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

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

 * Initiell utgivelse

## Meta

 *  Versjon **1.6**
 *  Sist oppdatert **2 år siden**
 *  Aktive installasjoner **100+**
 *  WordPress-versjon ** 2.8 eller nyere **
 *  Testet opp til **6.6.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/us-debt-clock-widget/)
 * Stikkord
 * [economy](https://nb.wordpress.org/plugins/tags/economy/)[finance](https://nb.wordpress.org/plugins/tags/finance/)
   [government](https://nb.wordpress.org/plugins/tags/government/)[money](https://nb.wordpress.org/plugins/tags/money/)
   [widgets](https://nb.wordpress.org/plugins/tags/widgets/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/us-debt-clock-widget/advanced/)

## Vurderinger

 5 av 5 stjerner.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](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)

[Se alle omtalene](https://wordpress.org/support/plugin/us-debt-clock-widget/reviews/)

## Bidragsytere

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

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/us-debt-clock-widget/)