這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Before You Are Dead Countdown

外掛說明

The Before You Are Dead (BYAD) Countdown provides a simple widget witch displays a countdown timer with Days, Hours, Minutes, Seconds and optionally, Years. You can configure some settings: Final date, Final time in the day, Final date format, Your final words and Years display.

Plugin Features

  • You can display the BYAD Countdown via:
    • a Widget
    • a Shortcode
  • BYAD Countdown implements some filters to use with add_filter() function:

    • byad_date_data > array( byadRegional, byadIcon) for jquery datepicker in admin. Useful for localization. Default in french. (see – byad-settings.php – around line 131). Check code example in help-code.txt file.
    • byad_title > filter for the widget title output. (see – byad-countdown_widget.php – around line 25)
    • byad_timezone > to set timezone for date php functions. Default: ‘Europe/Paris’. (see – byad-countdown_widget.php – around line 42)
    • byad_jsdata > to configure data passed to the main – byad-countdown.js – file displaying and activating your “last time of life”. (see – byad-countdown_widget.php – around line 53)
  • You can also:

    • use your own css using this simple action hook: byad_stylesheet.
    • use your own datepicker JS language file using this other action hook: byad_datepicker_lang.
    • Check examples in help-code.txt file.

Localizations

BYAD Countdown distributes with translations for the following languages:
* English
* Français
* Italiano

Don’t see your language on the list?
There is a – byad-countdown-default.po – in the languages/ directory.
Use it with Poedit as a base .PO file for your language.
Save it as: byad-countdown-LANGCODE.po where LANGCODE is your language code (e.g. fr_FR).
If you create any, I’ll be glad to include it in the plugin.

螢幕擷圖

  • Default countdown look
  • Settings for the countdown
  • Look it twice and in french

安裝方式

This section describes how to install the plugin and stay alive.

  1. Upload before-you-are-dead-countdown/ folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the – Plugins – menu in WordPress.
  3. In the Plugins main page, click – Settings – under the plugin’s name or go to the options panel under the – Settings > BYAD Countdown – and select the day of your death, your death date format, fill your last words, and choose to enable/disable Years display.
  4. Have fun before it’s to late!

常見問題集

None. Everybody RIP.

使用者評論

2019 年 9 月 23 日
Everybody using this plugin must be dead... So even if I'm the plugin's author, I must say, you don't really die at the end of this countdown!
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Before You Are Dead Countdown〉的開發相關工作。

參與者

將〈Before You Are Dead Countdown〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.4

  • Added option to specify the time (HH:MM:SS) of the day you want to die (you can even specify the seconds for the really precise ones)
  • Tested in WP 4.0

1.5.3

  • Changed the donate link

1.5.2

  • Bug with the readme file…

1.5.1

  • Compatibility with WP 3.9
  • Improved date format settings
  • Updated translations (EN,FR & IT)

1.5

  • Added Italian language
  • Included – jquery.ui.i18n.all.js – file. This way every languages are possible for the datepicker.
  • Removed js/datepicker-fr.js

1.4

  • Added shortcode funtionnality [byad_countdown title=”Your-custom-title”] (title optional)
  • Renamed classes from …CountDown… to …Countdown… for best practices
  • Changed and insure existence of a default widget title
  • Added action: “byad_datepicker_lang” to facilitate the enqueueing of other datepicker languages
  • Updated .PO files

1.3

  • Changed version number.
  • Reordered options settings fields

1.2

  • Changed version number.

1.1

  • Fixed date format bug.
  • Added new option

1.0

  • Beginning of the rest of my life.