Title: Countdown counter?
Last modified: August 18, 2016

---

# Countdown counter?

 *  [khajjameezer](https://wordpress.org/support/users/khajjameezer/)
 * (@khajjameezer)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/)
 * Hey y’all… it’s that pesky Meezer again. ^^
    Anywho, my sweetie is being shipped
   off to Iraq soon, and I kinda wanted to put a little countdown thingie on my 
   blog as something special for him and me. Where would I put that code? *the perpetually
   code-clueless….* ~K =^..^=

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/countdown-counter/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/countdown-counter/page/2/?output_format=md)

 *  Thread Starter [khajjameezer](https://wordpress.org/support/users/khajjameezer/)
 * (@khajjameezer)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83689)
 * Yeah…. something along the lines of “XXX days until he comes home”
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83691)
 * [http://wiki.wordpress.org/SimpleDayCounter](http://wiki.wordpress.org/SimpleDayCounter)
   
   Just the job 🙂
 *  [spdyvkng](https://wordpress.org/support/users/spdyvkng/)
 * (@spdyvkng)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83699)
 * Ah, the date_diff function was [stolen here (search for “gustav at monoseven” in the page to find the comment with the code)](http://no.php.net/manual/en/function.mktime.php)
   and modified to take timestamps as arguments.
 *  [spdyvkng](https://wordpress.org/support/users/spdyvkng/)
 * (@spdyvkng)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83700)
 * And I don’t use kernigham ritchie codestyle….sorry for that, for you guys who
   like to throw yourselves back to the seventies…
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83701)
 * // Released under the GPL (Gnu Public Lisence), meaning, keep all the comments
   //
   and copyright info with this in the future. To my knowledge this is a breach 
   of the GPL. Until it is clarified I would not advise anyone to use similar words
   in their hacks.
 *  [hanni](https://wordpress.org/support/users/hanni/)
 * (@hanni)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83702)
 * Why would this be a GPL breach?
 *  [spdyvkng](https://wordpress.org/support/users/spdyvkng/)
 * (@spdyvkng)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83703)
 * Sorry bout that, I think you keep the copyright even though released under GPL,
   and usually the GPL text should be put in as well.
    The point was that people
   don’t remove my name from the copyright.
 *  [spdyvkng](https://wordpress.org/support/users/spdyvkng/)
 * (@spdyvkng)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83704)
 * And my last post wasn’t meant to be argumentative. I’d be pleased to have a guideline
   for future reference, I’ll do my best to make the code available for people as
   well as derived work.
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83708)
 * Well on the GPL my concern is that if we add words explaining what the GPL*means*
   we are adding, or altering the terms of the licence itself which we are not allowed
   to do. Furthermore if what we think it means is wrong the confusion gets worse.
   Furthermore the very essence of open source is the ability of users to alter 
   withouit restriction works which the themselves have acquired.
    We may not qualify
   that in any way by saying *do not remove my comments*. Once it is released under
   the GPL anything can be removed.
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83724)
 * Hi Podz,
 * > [http://wiki.wordpress.org/SimpleDayCounter](http://wiki.wordpress.org/SimpleDayCounter)
   > 
   > Just the job 🙂
 * Pardon my ignorance but how do you implement this ?
    Thanks
 *  [hanni](https://wordpress.org/support/users/hanni/)
 * (@hanni)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83727)
 * Root: aaaaah I understand now, thanks 🙂
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83731)
 * Thanks Podz,
    Gave it a try but for some reason as soon as I add my-hacks.php
   to the site it has a conflict with AK’s last visit plugin. If I take the my-hacks.
   php out – it all works again. I was going to use this counter in much the same
   manner as you do – except mine was to count my nicotine-free days…but I guess
   I can do it manually on a weekly basis 🙂 Thanks anyway .
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83732)
 * Odd…..I have that plugin too….. I’ll check my filenames / plugin name
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83733)
 * what I named ‘counter.php’ above, I have as ‘days_since.php’ inside /hacks
    That
   help ?
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/#post-83743)
 * [@podz](https://wordpress.org/support/users/podz/)
    I tried with a different 
   name ‘givingup.php’ but still no go. As soon as I drop my-hacks.php in there 
   it goes nuts. Don’t stress too much about it – it’s not a big issue 🙂 Thanks
   for trying.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/countdown-counter/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/countdown-counter/page/2/?output_format=md)

The topic ‘Countdown counter?’ is closed to new replies.

 * 19 replies
 * 7 participants
 * Last reply from: [spdyvkng](https://wordpress.org/support/users/spdyvkng/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/countdown-counter/page/2/#post-83882)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
