Support » Plugin: CSSable Countdown » URL-defined expiry date?

Viewing 1 replies (of 1 total)
  • Plugin Author dmonnier

    (@dmonnier)

    Yep! You’ll have to edit the template that utilizes the deadline using the WordPress function do_shortcode. Example based off your example:

    <?php
    //convert your deadline into a timestamp
    $timestamp = strtotime($_GET['deadline']);
    $deadline_date = date( 'm/d/Y', $timestamp );
    
    do_shortcode( '[countdown date='" . $deadline_date . "' ...] );
    ?>

    Completely doable, you just need to know a little code 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘URL-defined expiry date?’ is closed to new replies.