Various bits of PHP / HTML to customize this theme. Add PHP to /custom/custom_functions.php unless otherwise noted.



1. Change the timer to always countdown to the time set in the Themedy Options, but always use current date as the day

Edit page_home.php and look for the following line:

<?php echo strip_tags(themedy_get_option('countdown_date')).' '.strip_tags(themedy_get_option('countdown_time')); ?>

and change it to:

<?php $today = (new DateTime())->setTime(0,0); echo $today->format('M d, Y').' '.strip_tags(themedy_get_option('countdown_time')); ?>