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

Christmas Countdown Widget

外掛說明

The Christmas Countdown Widget displays a cute Santa Claus counting down to Christmas in your sidebar. On Christmas day Santa displays a “Merry Christmas” greeting to your visitors. Since the countdown automatically updates each year and starts the countdown over again on the day after Christmas, you can leave it in your sidebar all year round if you want!

By the way… The Christmas countdown will appear in your sidebar on a transparent background so it looks good with any theme.

Now you can use the shortcode [countdown] to add the countdown to any post or page.

For more information about Santa’s countdown, visit ChristmasWebmaster.com.

螢幕擷圖

  • Upload plugin and install.
  • On the plugins panel activate the Christmas Countdown Widget.
  • In the widgets menu drag the Christmas Countdown Widget to your sidebar.
  • The Christmas Countdown Widget displays a cute Santa Claus countdown to Christmas in your sidebar!
  • New since version 2.0 - use the shortcode [countdown] to display the countdown on any page or post.

安裝方式

  1. Upload the ‘santas-christmas-countdown’ folder to your /wp-content/plugins/ directory, or install via the plugins admin panel.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to your widgets screen, and drag the Christmas Countdown widget to your sidebar.
  4. Let the countdown to Christmas begin!
  5. NEW in version 2+: Use the shortcode [countdown] to display the countdown in any post or page.

常見問題集

Can I change the background color?

It is transparent, but you are free to edit the plugin to your needs.

How do I display the countdown on posts and pages?

Use the shortcode [countdown] to display the countdown to the left of your text, or use [countdown-right] to align the countdown to the right of your text, use [countdown-center] to display the countdown centered on a page or post.

使用者評論

2020 年 6 月 28 日
I love the plug in I would like to choose to countdown to another date in december.
2019 年 11 月 5 日
Thanks for the kewl plugin, I'm using the latest WP and it appears to play nice with it.
2018 年 12 月 22 日
This plugin is nice and serves its purpose.
2016 年 9 月 3 日
Заменив содержимое файла scriptfile.js в плагине получаем новогодний счетчик. function cw_axmascount() { today = new Date(); thismon = today.getMonth(); thisday = today.getDate(); thisyr = today.getFullYear(); if (thismon==11 && thisday>1) { thisyr = ++thisyr; BigDay = new Date('January 1, '+thisyr);} else { BigDay = new Date('January 1, '+thisyr);} msPerDay = 24*60*60*1000; timeLeft = (BigDay.getTime() - today.getTime() - 1); e_daysLeft = timeLeft / msPerDay; daysLeft = Math.ceil(e_daysLeft); if (daysLeft<=0) {document.write('С Новым<br>годом!');} else if (daysLeft>10 & daysLeft<20) {document.write('до Нового года<br>'+daysLeft+' дней!');} else if (daysLeft%10==1) {document.write('до Нового года<br>'+daysLeft+' день!');} else if (daysLeft%10>1 & daysLeft%10<5) {document.write('до Нового года<br>'+daysLeft+' дня!');} else {document.write('до Нового года<br>'+daysLeft+' дней!');} }
2016 年 9 月 3 日
At the moment I've edited santas-christmas-countdown/scripts/scriptfile.js to support italian language. I hope it will add a switch option. Fabrizio
閱讀全部 9 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Christmas Countdown Widget〉的開發相關工作。

參與者

將〈Christmas Countdown Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

Version 2.8 Released 10/10/2021 =

*Updated date.

Version 2.7 Released 06/01/2020

*Updated to account for leap year.

Version 2.6 Released 10/27/2018

*Updated to reflect compatibility with WordPress 4.9.8

Version 2.5 Released 09/04/2014

  • Updated to be compatible with WordPress 4.0

Version 2.4 Released 03/01/2014

  • Added shortcode for centering the countdown on a page or post.

Version 2.3 Released 12/28/2013

  • Fixed error in countdown script to restart countdown the day after Christmas.

Version 2.2 Released 12/25/2013

  • Fixed extra spaces in Merry Christmas display.
  • Fixed countdown from saying 1 days left til Christmas to say 1 day left til Christmas. Thanks Nicole, for this edit 🙂

Version 2.1 Released 12/23/2013

  • Updated Countdown Script to show calendar days til Christmas properly. Thanks Tim, for this edit 🙂

Version 2.0 Released 05/13/2013

  • A quick note about updating to version 2 from a previous version: If you have the countdown in your sidebar and update from a previous version, you will have to visit the Widgets page in your admin and drag the countdown back to your side bar.

  • Restructured plugin files and updated code. Added shortcode so that the countdown can be used on any post or page. See FAQ section for details or visit plugin home page.

Version 1.3 Released 03/04/2013

  • Minor update to countdown script.

Version 1.2 Released 11/07/2012

  • Fixed missing day issue, please install update immediately.

Version 1.1 Released 10/03/2012

  • Minor update to countdown script.

Version 1.0 Released 8/20/2012

  • First release!