Help, Support & Customization for
Countdown Timer
Call now: 720-288-0398
Using WordPress HelpCenter for help with Countdown Timer supports fergbrain (the plugin developer).
This, unfortunately, is a problem with your theme, and not with Countdown Timer. Themes _must_ call wp_footer(), which is a standard hook for WordPress. Without it, many other plugins may not work properly either.
Your best bet to fix the problem is to modify the `footer.php` file and put “ right before “. Then contact the person you designed the theme and let them know of their coding oversight. #
If you can, use the automatic WordPress installer/upgrader.
Otherwise, delete any previous version of Countdown Timer and associated files.
Download and install the timer into your plugins directory.
Activate the timer and add the widget.
If you don't want to use the widget, you can also add the following code into your sidebar.php file:
<li id='countdown'><h2>Countdown:</h2>
<ul>
<?php function_exists('fergcorp_countdownTimer')?fergcorp_countdownTimer():NULL; ?>
</ul>
</li>
Events can be added and other settings modified in the Settings > Countdown Timer section of the Administration Menu.
If you want to insert the Countdown Timer into a page or post, you can use the following shortcodes to return all or a limited number of Countdown Timers, respectively: [fergcorp_cdt] [fergcorp_cdt max=##]
Where ## is maximum number of results to be displayed - ordered by date
If you want to insert individual countdown timers, such as in posts or on pages, you can use the following shortcode:
Time until my birthday: [fergcorp_cdt_single date="ENTER_DATE_HERE"]
Where "ENTER_DATE_HERE" uses PHP's strtotime function and will parse about any English textual datetime description.
If you're using the widget, there is an option to set the maximum number of timers shown. If you are using the PHP code, replace
fergcorp_countdownTimer()
with
fergcorp_countdownTimer(##)
where ## is the maximum number of events you wish to be displayed.
Events are automatically sorted by date of occurrence.
Starting with version 2.4, you can makes changes to the appearance of Countdown Timer display using CSS.
The following CSS classes are available:
fergcorp_countdownTimer_event_li styles each List Item, each item encompasses one countdown eventfergcorp_countdownTimer_event_title styles the title of the eventfergcorp_countdownTimer_event_linkTitle styles the title of an event if it is linkedfergcorp_countdownTimer_event_time styles the actual countdown timerThis, unfortunately, is a problem with your theme, and not with Countdown Timer. Themes must call wp_footer(), which is a standard hook for WordPress. Without it, many other plugins may not work properly either.
Your best bet to fix the problem is to modify the footer.php file and put <?php wp_footer(); ?> right before </html>. Then contact the person you designed the theme and let them know of their coding oversight.
Well, not quite. As it turns out, determining the number of months between two dates is harder than one might think. As you know, all months don't have the same number of days. Thus, some months have 31 days, others have 30 days, and then there's February. It's pretty trivial to figure out the number of complete months between two days (if complete months exist).
However, how many months exist between January 15 and February 20? There are 36 days, which is obviously more than the number of days in any given month we have, so the timer should display 1 month and how many days? Six days (30 days/month)? Five days (31 days/month)? Eight days (28 days/month since the date does end in February)?
I happened to mention my problem to a friend who said that the US military decided that there were 30 days in every month and to prorate the addition day (or less day(s)) for all the months that have more (or less) than 30 days.
Using the above example of January 15 to February 20, there would be one month and five days. February 15 to March 20 would also be one month and five days. Why? January 15 to February 15 is one month. February 15 to February 20 is 5 days. Put them together and you get one month and five days.
Log into your WordPress Dashboard. Expand the Settings menu, click on Countdown Timer. Scroll down to One Time Events. In the dates field, type the date you want to count down to. Fill in the event title field with what text you want displayed. Click Update Events.
There are two ways to fix this. First, you can always contact me via email, blog comment, support forum, etc and let me know about the error. I don't usually issue bug fix updates just for language errors, but it will make it into the next update cycle.
Second, if you're handy with poEdit or something of the like, you can make the changes yourself and email me the .po and .mo files (although I really only need the .po file).
I'm an engineer and have to retreat to my cave from time to time. Also, I do this for fun. That means work must come first (unless you want to pay me, then we can talk). Since I work during the week, you may only hear from me during the weekend.
Release Date: 4/12/2010
Release Date: 4/4/2010
Release Date: 4/2/2010:
Release Date: 2/17/2009:
Release Date: 11/20/2008:
Release Date: 11/19/2008:
Release Date: 9/23/2008:
Release Date: 9/4/2008:
Release Date: 7/9/2008:
Release Date: 6/30/2008:
Release Date: 6/18/2008:
Release Date: 5/15/2008:
Release Date: 2/20/2008:
Release Date: 12/29/2007:
Release Date: 12/29/2007:
Release Date: 12/4/2007:
Fixed error where the widget wasn't updated correctly.
Release Date: 8/7/2007:
Release Date: 5/7/2007:
Release Date: 4/29/2007:
Release Date: 3/9/2007:
Release Date: 3/9/2007:
Release date: 03/16/2006
This is the first release using the WordPress SVN. Its kind of been cool using the SVN because it is easier to see what changes have been made from version to version. In any event, this release has a couple of updates. First, there is an option to include the timer from within the WP Loop, that is you can now display the timer from within a post or page (see instructions for the specifics). The idea came from Ronny a mere four days ago, just to give you an idea of the turn around time on suggestions to release. Because of the way the plugin is implemented, I also had to modify the main function that gets the ball rolling on displaying the timer. Its designed to be backwards compatible, so you shouldnt have any problems. I also had to rewrite parts of the version check system to work with the SVN. The format is actually much better and just calls one text file which lists the latest version (i.e. 1.4?). It compares that to the current version and lets you know if theres a new version. Simple! As always, you can turn the feature off.
Release date: 03/16/2006:
Ive already received some preliminary feedback on 1.2 (thanks Dave), so Ive made a couple of updates. First, there are actually instructions for configuring the onHover Time Format option. Second, if you leave onHover Time Format blank, it will remove the dashed underline on the timer so no one is confused. I also fixed a really stupid bug, I never but a stripslashes in. So if you tried using something that needed escaping (such as an apostrophe), you would get a slash. That doesnt happen anymore. Enjoy!
Release date: 03/13/2006:
Development has been slow. Not really a lot to do. But version 1.2 offers some great things, including a bug fix! Deleting two or more events doesnt make the plugin freak out anymore (the bug fix). You can also customize how the onHover time is displayed, including not displaying it at all (just leave it blank). Because you can leave it blank, there is no default; but you can use and PHP date() format. I recommend j M Y, G:i:s. I also added a six month delay before the date on recurring events is reset although as Im writing this, I realize theres a slight bug there, nothing critical though. I welcome any new ideas, just leave a comment down below!
Release date: 11/28/2005:
NOTICE: Copyright format changed from MIT to GNU GPL as of version 1.1 Not a whole lot of major thing. Thanks to Benoit Kechid for catching a calculation and syntax error. There was a request for making things linkable, so you can now add a link an event. The time is also has a dashed underlined and if you roll over it with your mouse, the date and time of the event are displayed. I dont have anymore ideas for this plugin, so unless I you email me with something that you would like, there probably wont be any more updates.
Release date: 10/05/2005:
You can now set recurring dates, sort of. The plugin can currently handle things that happen on a given day of a given month every year (such as a birthday). The plugin will also now check for updates whenever you are in the admin panel. Download and copy to your plugins directory, then rename it to .php
Release date: 09/26/2005:
Fixed a Warning message (thanks to cordney* for the heads up). Also changed a few things: If you have Automatically delete One Time Events on, only events that that do NOT have Display Time since will be deleted. Also, the file is now a PHPS file, not zip file. Download and copy to your plugins directory, then rename it to .php
Release date: 09/23/2005:
This version adds the option to automatically delete One Time Events that have all ready occured. If you dont choose to automatically delete the events, they will be displayed as Time since after the event occurs. Small issue Im still working on: events are only erased when you update timer options.
Release date: 07/23/2005:
This is a backend change. The dates.txt file has been replaced with an entry in the WordPress Database. Unfortantly, youll have to manually transfer your events into the new form. Once they are in the form, they are automatically sorted, with events ending soonest on the top.
Release date: 05/23/2005:
Changed an internal function name reference due to a potential conflict with another plugin (Thanks Robert)
Release date: 05/20/2005:
Added Admin menu. Allows user to update information via web-interface now.
Release date: 05/16/2005:
Fixed small math error in cdt_format() on line 47.
Release date: 05/15/2005:
Initial public release
Using WordPress HelpCenter for help with Countdown Timer supports fergbrain (the plugin developer).