Santa Claus Christmas Countdown – WordPress Plugin

We are super happy to announce the release of our first WordPress plugin, Santa’s Christmas Countdown Widget.

It’s never too early to let the Countdown to Christmas begin! Download the plugin from the WordPress plugin repository to add a cute Santa Claus inspired Countdown to Christmas in the sidebar of your blog.

Santa’s countdown never needs updated!

When the countdown reaches Christmas day, Santa’s Countdown will display a ‘Merry Christmas’ greeting to your visitors. Santa starts his countdown again on the day after Christmas day, every year.

New: Use Santa’s countdown on any post or page!

Check out the latest version of our Christmas Countdown Widget, I added shortcodes so that it can be used in any post or page! Very cool 🙂

To place the countdown on a post or page, you must first have the plugin installed. Then, use the shortcode [countdown] in your post. This will display the countdown to the left of your text. Use the shortcode [countdown-right] to display the countdown aligned right of your text.

Installation and Screenshots

  1. Upload plugin and install. You can install through your WordPress admin panel.
  2. On the plugins panel activate the Christmas Countdown Widget.
  3. In the widgets menu drag the Christmas Countdown Widget to your sidebar.
  4. The Christmas Countdown Widget displays a cute Santa countdown in your sidebar!
  5. Since v2 – use the shortcode [countdown] to display the countdown on any page or post.
New in version 2 - use shortcodes!!

New in version 2 – use shortcodes!!



Love the plugin? I would love to hear from you in the comments…

55 Comments

  1. Would not it be nice…. if you could change the text to another language?

    Examples of Swedish called the “dagar till julafton”.
    Note – we do not expect to Christmas Day, but the day before.
    Santa Claus will be in the evening at around 6-7 pm

    • Hi Paul, thanks for stopping by. You can feel free to edit the plugin’s countdown date and language output.

      Go to Plugins > editor > santas-christmas-countdown/xmascount.php

      find this line:

       document.write(\"\" + daysLeft + \" days<br />til Christmas!\");

      change to:

       document.write(\"\" + daysLeft + \" dagar<br />till julafton!\");

      Locate the two instances of:

      BigDay = new Date(\"December 25, \"+thisyr);

      and change to:
      BigDay = new Date(\”December 24, \”+thisyr);

      I hope this helps!

  2. Pingback: Nettes Plugin: Weihnachten | Meine Testfamilie

  3. Hey there

    Great plugin!

    A quick question. When I leave the title blank the title bar still shows with no entry. Is there some way around this or is this a theme issue. Other plugins on the theme don’t show the ‘blank’ title.

    Any advice would be appreciated.

    • Hi Eugene,

      I’ve had the same issue in a theme I am developing, but I use the plugin on other themes, and the title bar doesn’t show.
      Anyhoo, you can remove the following lines from xmascount.php, and the title bar shouldn’t show up in your theme =D

      Go to Plugins > editor > santas-christmas-countdown/xmascount.php

      echo $before_widget;
          $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
          if (!empty($title))
            echo $before_title . $title . $after_title;;

      It should remove the title bar completely.

      Hope this helps…

  4. Hi. Merry Christmas. I think there is a problem with the plugin.
    I am using WordPress 3.5 and latest Chrome browser and I can’t see the second line of the widget. In Internet Explore is O.K.

    example:
    4 days til
    Christmas

    “Christmas” isn’t show in Chrome.

    Thanks for your time.

    • Hi Nicolas,
      Merry Christmas to you, too!

      I’m using the plugin on several sites and have checked and re-checked, I can find no conflicts with the plugin and chrome, or the plugin and WordPress 3.5.

      Have you edited the plugin in any way? I ask because in your example you say:

      “4 days til
      Christmas”

      But it should show as

      “4 days
      til Christmas”

      It seems like there is a missing line break, and perhaps the “Christmas” is just out of view. If you could leave me a link to your site, I would be happy to take a look for you.

      Thanks =D

  5. Pingback: Santa Claus Christmas Countdown Widget

  6. Hi:

    I have version 2.0 in wordpress. It says it’s active, but it doesn’t show up on my website. I drag it over to the side in the wp editor, says it’s active, but then when I go to the website, it’s not there. Then, when I go back to the plugin page for WP, it’s not on the right sidebar any more. I hope that makes sense. Any ideas? Thanks in advance,
    JK

  7. Hi,

    I wonder if there is a way to disable the new shortcode feature. We had your excellent timer on our site as a sidebar countdown and it worked great.

    Unfortunately, the shortcode [countdown] is already used by another plugin we use to schedule daily content. It is conflicting.

    Maybe you have a link to the old plugin? Or maybe I can change the shortcode to [countdown-something-else]

  8. Just installed on clients website. Even tho it is the Dec 1 here in Aus, countdown is off by a day. Should be 24 days not 23. Also my widget looks nothing like yours. Thanks

    • It looks like a CSS conflict.. are you using the latest version of WordPress and the plugin? I think it may be a theme conflict.. you could add a few pixels to the padding in the CSS file to offset whatever is going on. Let me know if you need help 🙂

      Merry Christmas!

  9. Pingback: WordPress Plugins To Prepare Your Site For Christmas | RichInfoWorldRichInfoWorld

  10. Pingback: Tổng hợp những plugin giúp bạn chuẩn bị Noel trong WordPress

  11. Pingback: Christmas: Trang trí blog đón Giáng Sinh với Christmas Plugin

  12. Thanks for the advice Monica. Is there any easy way to change the text color of the ‘days til Christmas’ bit just so it’s a bit clearer, rather than me mess about with padding etc.?

    • It definitely looks like something conflicting on your page. I also see empty <> angle brackets at the top of your page where it appears there is an error in your code.

      To change the font color you will still need to mess with the stylesheet of the plugin. You will need to edit this line:

      color: #0099CC;

      If you would like me to take a look, I’d be happy to help. You can email me directly at jing at christmaswebmaster.com

  13. Pingback: Plugin WordPress Untuk Sediakan Tapak Anda Untuk Krismas - Berita Malaysia

  14. I am also having issues with the countdown calculation. Today it was showing 9 days until Christmas when it is actually 10. Even if it was pulling server time (UTC + 0), it still should have been 10 days at 11:00 pm UTC (5:00 pm CST) on December 15th. Not sure if it is pulling wrong time or an actual wrong date and I don’t know enough about the programming to figure that out myself.
    Using version 2.0 of the plugin

  15. I answered my own question after a crash course in programming.

    The javascript file is using the Math.floor() command which returns the integer value of a number (rounded down).

    e_daysLeft = timeLeft / msPerDay;
    daysLeft = Math.ceil(e_daysLeft);

    So if e_daysLeft comes out to 9.5 for example (9 days 6 hours), the Math.ceil command gives you a value of 9.
    So if it is December 15th at 6 pm, there is technically 9 days and 6 hours remaining but the Plugin is going to show only the 9 days. 9 days from the 15th would be the 24th, not the 25th.

    I changed the javascript to usethe Math.ceil() command which rounds the value up. In my example, it would return 10 days which is correct strictly from a calendar day perspective.

  16. my bad… I posted the corrected code. The original uses the Math.floor() command and I replaced it with the Math.ceil() that you see in my previous post.

    Feel free to clean up and combine these as needed if they are helpful.

    • Oh NO! I just realized that I never replied to you, Tim. THANK you SO much for your edit to the plugin. I updated the script and updated the plugin.. It works perfectly now 🙂

  17. Pingback: The 5 best Christmas countdown widgets for your website | MotionBump Reader

  18. Pingback: The 5 best Christmas countdown widgets for your website - Responsive Joomla and Wordpress themes

  19. Pingback: 5 widget đếm ngược đến Giáng Sinh tốt nhất cho thiết kế web | vivicorp

  20. Pingback: Christmas Countdown Widget » FindScripts

  21. Pingback: 10 Awesome WordPress Plugins to Prepare Your Website for Christmas - WDT WebDzineTech

  22. Pingback: 20 free WordPress plugins To Prepare Your Site For Christmas

  23. Hi, Great little plugin but doesn’t seem to have been updated for wordpress for over two years 🙁 any signs of update to show compatibility with wordpress 4.6.1?? if it is ok you only need to update the plugin site to show latest compatability. seems a shame if no longer supported.

  24. Ho ho ho, It’s that time of year again, well almost.. Does your countdown work with the latest wp edition 4.8.3 and the future scheduled release for 4.9 due in mid- november??? If so could you update your version details to show compatibility please. Any new widgets as you said above that you might be working on some when i asked you last year. Thanks in advance, must go for a snooze now and tuck in prancer before the seasonal rush begins, ho ho ho.

  25. Hello Monica, I’m using the latest version of WordPress of 4.8.3 and the Christmas Countdown of 2.5. The plug in is in the sidebar and active. The picture of Santa is displaying ONLY on my website but NOT the count down. I have viewed my website on all browsers. Same outcome. I hope that makes sense. Any ideas? Thanks in advance, Please, visit my website http://www.zippyisfunny.com/ to see what I am explaining. Thank you for your help in advance. Warm Regards, Zippy

Leave a Reply to Jeff Cancel reply

Your email address will not be published. Required fields are marked *