WordPress.org

Ready to get started?Download WordPress

Forums

countdown (8 posts)

  1. Jaxxx
    Member
    Posted 10 years ago #

    be nice if there was a "xxx days until ..." thing somewhere. For now i can make do with some php code, but i think it would be a nice (if somewhat insignificant) feature.

  2. gfmorris
    Member
    Posted 10 years ago #

    Why put such a feature in WP? There's a lot of scripts out there that do things like this already; I'd suggest finding one and importing it into your site through your templates.

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    Could you guys give me some code or direct me to some scripts for this? That would be a fun feature to add interest and unique character to my blog.
    Next Linux Kernel will be released in ... days. :-) How fun.

  4. southerngal
    Member
    Posted 10 years ago #

    I went to hot scripts and got a countdown and a countup script. They are out there, just look! :)

  5. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    That's one of the big reasons I went with WP over b2evo. b2evo is so bloated with not needed (IMO) features.

  6. gfmorris
    Member
    Posted 10 years ago #

    http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=Perl+countdown+scripts
    I'd just go with that, frankly. Perl will work just fine for this. I *guess* you could hack up something similar in PHP and put some of the data in a MySQL database, but to me that feels a bit like having a tank cannon when you just needed a slingshot. :)

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    Thanks folks. I agree that adding this to WP would be bloating a good program. Adding ones own scripts obviously is easy enough and something like this should be a cinch. Thanks!

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    this is what i used:
    <? print ("There are " . (int)((mktime (0,0,0,[dd],[mm],[yyyy]) - time(void))/86400) . " days until [myEvent]"); ?>
    I only suggested it, because it would be nice to tie it directly into the calendar on WP.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.