• Hello,

    i have two countdown, and the countdown still at 00:00:00 after the 24h expiration, i would countdown restart at 24:00:00 (24h) when it expire.

    My settings:

    Type: date
    Evergreen: Yes
    Expire countdown: 1 day, 0 hours/min/sec.
    Redirect URL: none
    Automatic resetting day: 1

    With theses settings, 24h after the first visit, the countdown still at 00:00:00 and does not restart at 24:00:00. How can i modify this ?

    Thank, regards.

Viewing 1 replies (of 1 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hi @stoddart
    Thanks for choosing IntellyWP products.

    Unfortunately this feature is not still available on our plugin.

    When you use the automatic resetting time feature, that means that after X days the expiration, the countdown restart and will be visible again for the user to which had expired.

    The min. n. of days to reset the timer is 1 day.

    Anyway you can edit, after a plugin backup, the following file:

    /intelly-countdown-pro/includes/classes/ui/CountdownUI.php at line 81 and replace

    $reset=intval($countdown->automaticResetDays)*86400;

    with

    $reset= ($countdown->automaticResetDays== 0) ? 1 : intval($countdown->automaticResetDays)*86400;

    subsequently set 0 as Automatic resetting time (days) option to restart immediately the countdown after the expiration

    Cheers.

    IntellyWP

Viewing 1 replies (of 1 total)
  • The topic ‘Reset after 0 reached’ is closed to new replies.