このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Days Until

説明

Originally I used the “Countdown Timer” plugin written by Andrew Ferguson to accomplish what I wanted,
however, his implementation to output in just days also outputted extraneous text that I was
not interested in. On top of that, the actual count algorithm was flawed. Rather than hack
this plugin to pieces to get the output I needed, I decided to just roll my own.

This is a bare bones, no-frills plugin since this is my first attempt at it. This means no
fancy options or configuration screens.

To use the plugin, simply install it and then use the following shortcode to output the number
of days until a given date in its place:

[days_until date=”SPECIFIC DATE”]

Where “SPECIFIC DATE” can be any text that that PHP’s strtotime function can understand.

インストール

This section describes how to install the plugin and get it working.

e.g.

  1. Upload daysuntil.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [days_until date="SPECIFIC DATE"] in your content

FAQ

None yet.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Days Until はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Days Until” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1

  • Just now realized that the instructions in the readme were wrong (missing the date attribute), functionally nothing else changed.

1.0

  • The genesis