Title: Add time count down
Last modified: October 30, 2022

---

# Add time count down

 *  Resolved [chadit](https://wordpress.org/support/users/chadit/)
 * (@chadit)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-time-count-down/)
 * Hello,
 * And thank for this great plugin…
 * Can someone’s help me to add some future to this code…
    I wont to add that when
   the store will open exp. at 11 o’clock, so before the store opens at 10:15, the
   code began to write, that the store will open in 45 minutes, open in 44 minutes,
   open in 43 minutes and so on… and it count down until the store opens, and the
   code write at 11 that the store is open. And win the store will close the code
   write the same before 45 minutes, that the store will close in 45 minutes and
   so on until the store close..
 * [open_now update=”immediate”]
    <p style=”color: #2cc968; text-align: center;”
   >Great, we are now open ! ⌊laughing⌉</p> [open_text] %if_open_now% We are currently
   open, so pop in! %end% %if_open_later% We are currently not open, but we will
   be open today at: %today_next%. %end% %if_closed_now% %if_not_open_later% We 
   are currently not open for the remainder of the day %if_open_tomorrow%, however
   we are open tomorrow at %tomorrow_start%. %else% and closed tomorrow. %end% %
   end% %end% [/open_text] [/open_now] [closed_now update=”immediate”] <p style=”
   color: #f12929; text-align: center;”>Sorry, we are now closed ! ⌊cry⌉</p> [open_text]%
   if_open_now% We are currently open, so pop in! %end% %if_open_later% We are currently
   not open, but we will be open today at: %today_next%. %end% %if_closed_now% %
   if_not_open_later% We are currently not open for the remainder of the day %if_open_tomorrow%,
   however we are open tomorrow at %tomorrow_start%. %else% and closed tomorrow.%
   end% %end% %end% [/open_text] [/closed_now]
    -  This topic was modified 3 years, 9 months ago by [chadit](https://wordpress.org/support/users/chadit/).
    -  This topic was modified 3 years, 9 months ago by [chadit](https://wordpress.org/support/users/chadit/).
    -  This topic was modified 3 years, 9 months ago by [chadit](https://wordpress.org/support/users/chadit/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16146557)
 * Hello [@chadit](https://wordpress.org/support/users/chadit/),
 * At the moment, there is no live countdown functionality. I may add this functionality
   in the future.
 * However, there are replacement codes for how many hours, minutes, seconds to 
   a change of status (i.e. from closed to open or open to closed). You can use 
   this to inform customers of the time to either open or close when the page loads.
 *  Thread Starter [chadit](https://wordpress.org/support/users/chadit/)
 * (@chadit)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16146738)
 * Yes and that what I ask for, how I can add the replacement code, into the code
   so it works…
 * It’s here I have to edit
 * %if_open_later% We are currently not open, but we will be open today at: %today_next%.%
   end%
 * So it’s in this code I have to add the replacement code of the minuets, so it
   began to show how longtime its before open.. But my problem is how to put the
   replacement code, so it works…
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16147018)
 * [@chadit](https://wordpress.org/support/users/chadit/) Please refer to the reference
   within the plugin under the Shortcodes tab or check for the same in the [Demo website](https://demo.designextreme.com/were-open/#open-text-reference).
   The replacement codes start with `%seconds%` and go down from there. Use the 
   divisor if combined with a larger unit.
 * You could have something like:
 *     ```
       [open_text]
       %if_open_later% We are currently not open, but we will be open today at: %today_next% (in %hours%:%minutes_divisor%). %end%
       [/open_text]
       ```
   
 *  Thread Starter [chadit](https://wordpress.org/support/users/chadit/)
 * (@chadit)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16147043)
 * Can you help and Insert the code inside this code, as you prefer…
 * [open_now update=”immediate”]
    <p style=”color: #2cc968; text-align: center;”
   >Great, we are now open ! </p> [open_text] %if_open_now% We are currently open,
   so pop in! %end% %if_open_later% We are currently not open, but we will be open
   today at: %today_next%. %end% %if_closed_now% %if_not_open_later% We are currently
   not open for the remainder of the day %if_open_tomorrow%, however we are open
   tomorrow at %tomorrow_start%. %else% and closed tomorrow. %end% %end% %end% [/
   open_text] [/open_now] [closed_now update=”immediate”] <p style=”color: #f12929;
   text-align: center;”>Sorry, we are now closed ! </p> [open_text] %if_open_now%
   We are currently open, so pop in! %end% %if_open_later% We are currently not 
   open, but we will be open today at: %today_next%. %end% %if_closed_now% %if_not_open_later%
   We are currently not open for the remainder of the day %if_open_tomorrow%, however
   we are open tomorrow at %tomorrow_start%. %else% and closed tomorrow. %end% %
   end% %end% [/open_text] [/closed_now]
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16269355)
 * Sorry, I missed your most recent response here [@chadit](https://wordpress.org/support/users/chadit/).
 * Do you still need assistance?
 *  Thread Starter [chadit](https://wordpress.org/support/users/chadit/)
 * (@chadit)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16269376)
 * Yes if you can help, whit it…
 *  Thread Starter [chadit](https://wordpress.org/support/users/chadit/)
 * (@chadit)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16340813)
 * Yes if you can help, whit it…
 * [@designextreme](https://wordpress.org/support/users/designextreme/)
 *  Plugin Author [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * (@designextreme)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16340985)
 * [@chadit](https://wordpress.org/support/users/chadit/) Here’s the retouched version;
 *     ```wp-block-code
       [open_text update="immediate"]
       %if_open_now%
           <p style="color: #2cc968; text-align: center;">Great, we are now open ! </p>
           <p class="additional-text">We are currently open, so pop in!</p>
       %end%
       %if_closed_now%
           <p style="color: #f12929; text-align: center;">Sorry, we are now closed ! </p>
           <p class="additional-text">
           %if_open_later%
           We are currently not open, but we will be open today at: %today_next%.
           %else%
               We are currently not open for the remainder of the day
               %if_open_tomorrow%, however we are open tomorrow at %tomorrow_start%.
               %else% and closed tomorrow.
               %end%
           %end%
           </p>
       %end%
       [/open_text]
       ```
   

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Add time count down’ is closed to new replies.

 * ![](https://ps.w.org/opening-hours/assets/icon.svg?rev=2706372)
 * [We’re Open!](https://wordpress.org/plugins/opening-hours/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/opening-hours/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/opening-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/opening-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/opening-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/opening-hours/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Noah Hearle](https://wordpress.org/support/users/designextreme/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/add-time-count-down/#post-16340985)
 * Status: resolved