WordPress.org

Ready to get started?Download WordPress

Forums

Countdown Timer
[resolved] ( an ) ( active ) ( ago ) (3 posts)

  1. SATEAT
    Member
    Posted 2 years ago #

    ive tried taking this apart and putting it back together and have failed miserably. Hoping i can have someone point me in the right direction. What i want to do is have the time display an event time then says its currently active and say ago. Like this:

    in 20 Minutes
    Ongoing
    31 Minutes ago

    i want the duration to be 30 minutes on all events so i dont need to easily be able to change the time not sure where to modify i tried this dont laugh i have no about 2 days php experience :-):

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Now im wanting to use the shortcode to put it in the top of a post. Did i modify the wrong area or did i just murder the code altogether? Any input would be greatly appreciated.

    http://wordpress.org/extend/plugins/countdown-timer/

  2. SATEAT
    Member
    Posted 2 years ago #

    Also note i added the 'current' language in the countdown timer php:

    echo "fergcorp_countdownTimer_js_language['current'] = '".addslashes(__('In Progress Get Yours Now', 'fergcorp_countdownTimer'))."';\n";

  3. SATEAT
    Member
    Posted 2 years ago #

    Bah i figured it out i was working on the wrong file :-) Thanks Anyways!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic