Title: {timer} not working
Last modified: December 4, 2017

---

# {timer} not working

 *  [jordanboon0](https://wordpress.org/support/users/jordanboon0/)
 * (@jordanboon0)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/timer-not-working-3/)
 * I have installed and the timer was working fine for the first week however since
   i have returned from holiday it is now showing the countdown timer part.
 * It was a great plugin and it looked awesome on my site however since it stopped
   working i have edited it to say just 4pm which is not ideal as would like the
   dynamic timer effect.
 * Jordan
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftimer-not-working-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Valdecon](https://wordpress.org/support/users/valdecon/)
 * (@valdecon)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/timer-not-working-3/#post-9869161)
 * Hi Jordan.
    I have same problem. Edit timer.php end replace from line 29
 * <script language=”javascript” type=”text/javascript”>
    jQuery(document).ready(
   function($) { if($(“#<?php echo $id; ?>”).length>0){ $ (“#<?php echo $id; ?>”).
   countdowntimer({ startDate : “<?php echo date(‘Y/m/d H:i:s’); ?>”, dateAndTime:“
   <?php echo $dateandtime; ?>”, size : “xs”, regexpMatchFormat: “([0-9]{1,2}):([
   0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})”, regexpReplaceWith: “<span class=’cdn_hrs
   cdn_hldr’>$2</span>**hrs y**<span class=’cdn_mins cdn_hldr’>$3</span>**mins**”});};});
   </script>
 *  [clonemonkey23](https://wordpress.org/support/users/clonemonkey23/)
 * (@clonemonkey23)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/timer-not-working-3/#post-9884613)
 * Same, here any ideas on how to fix??
 *  [viktorhanacek](https://wordpress.org/support/users/viktorhanacek/)
 * (@viktorhanacek)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/timer-not-working-3/#post-10356662)
 * Same here, Valdecon’s script (even edited), not working 🙁
 *     ```
       <script language="javascript" type="text/javascript">
   
           jQuery(document).ready(function($) {
               if($("#<?php echo $id; ?>").length>0){
                   $ ("#<?php echo $id; ?>").countdowntimer({
                       startDate : "<?php echo date('Y/m/d H:i:s'); ?>",
                       dateAndTime : "<?php echo $dateandtime; ?>",
                       size : "xs",
                       regexpMatchFormat: "([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})",
                       regexpReplaceWith: "<span class='cdn_hrs cdn_hldr'>$2</span>hrs y<span class='cdn_mins cdn_hldr'>$3</span>mins"
                   });
               };
           });
       </script>
       ```
   

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

The topic ‘{timer} not working’ is closed to new replies.

 * ![](https://ps.w.org/delivery-countdown-timer/assets/icon-128x128.png?rev=1288128)
 * [Delivery Countdown Timer](https://wordpress.org/plugins/delivery-countdown-timer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/delivery-countdown-timer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/delivery-countdown-timer/)
 * [Active Topics](https://wordpress.org/support/plugin/delivery-countdown-timer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/delivery-countdown-timer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/delivery-countdown-timer/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [viktorhanacek](https://wordpress.org/support/users/viktorhanacek/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/timer-not-working-3/#post-10356662)
 * Status: not resolved