• Resolved lscura

    (@lscura)


    Hello,

    I am trying to create a custom page template that is going to show content only when the countdown expires. I tried to put the shortcode on a conditional (do_shortcode[”]) but since it only verifies if the shortcode exists is always true even if the countdown expired. I was hoping to do something like this:
    if (countdown still running){show countdown}else{show custom code}

    Is there a way I can achieve this?

    Please advise.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello

    You can redirect your user to a different page when the countdown is expired, from the plugin settings.

    all countdowns are saved inside the option called EC_ArrayCountdowns and returns an array with all countdowns.

    you can use get_option(‘EC_ArrayCountdowns’) to get this array;

    each expiration date is saved as timestamp.

    If you need anything further, let us know! Either here or at data443.com/support

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Time expires’ is closed to new replies.