Support » Plugin: CSSable Countdown » Unique Visitor Timer?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author dmonnier

    (@dmonnier)

    Static countdowns on page reload are not available in this plug-in (yet), but in the meantime you can use PHP in a page template to generate and hard-code the expiration date based on the page load time. Something like:

    $add_time = 300; // 5 minutes = 300 seconds
    $target_timestamp = time() + $add_time;
    $target_time = date( 'H:i:s', $target_timestamp );
    $target_date = date( 'm/d/Y', $target_timestamp );
    
    echo do_shortcode( '[countdown date="' . $target_date . '" time="' . $target_time . '"]' );

    I didn’t test this, so be careful if you copy-paste.

    Since two of you have now requested this feature, I’ll add it to the list for the next version 🙂

    CaliforniaTeachersCollege

    (@californiateacherscollege)

    Thank you for the 411…I will give it to a coder to try…Awesome that you’ll have it in the next version…Really big for internet marketing in order to create a sense of urgency and push people to click, sign-up, buy, etc.

    CaliforniaTeachersCollege

    (@californiateacherscollege)

    As an FYI, if somehow you can combine forces with Easy Timer, it would be sick…He has this unique visitor timer feature, but doesn’t have the nice looking countdown clocks like you 😀

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unique Visitor Timer?’ is closed to new replies.