Before You Are Dead Countdown Before You Are Dead Countdown

Before You Are Dead Countdown

Created by: David THOMAS

Rating:
Downloaded: 2k times

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.

Screenshots

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

Categories

Get New Themes & Resources