Update the dates
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Apr 2016 14:29:31 +0000 (10:29 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Apr 2016 14:29:31 +0000 (10:29 -0400)
Should be from Oct 4 to Now 1 is the 9 to 7 the rest open times are 9 to
8

parts/slide-show.php
style.css

index af5b750..7578945 100644 (file)
 $today     = time();
 // for testing the dates to test use mktime() for the current time use time()
 $today     = mktime(0, 0, 0, 11, 2, 2016);
+
 $start9to8 = mktime( 0, 0, 0, 5, 21, date('Y'));
-$end9to8   = mktime( 0, 0, 0, 9, 30, date('Y'));
-$start9to7 = mktime( 0, 0, 0, 10, 1, date('Y'));
+$end9to8   = mktime( 0, 0, 0, 10, 3, date('Y'));
+
+$start9to7 = mktime( 0, 0, 0, 10, 4, date('Y'));
 $end9to7   = mktime( 0, 0, 0, 11, 1, date('Y'));
 // check the date
-// if time is between May 21st and September 30 then hours should be 9am to 8pm
-// if time is between Oct 1st and Nov 1 then hours should be 9am to 7pm
+// if time is between May 21st and Oct 3rd then hours should be 9am to 8pm
+// if time is between Oct 4th and Nov 1 then hours should be 9am to 7pm
 // else show the closed ribbon
 if ( $today >= $start9to8 && $today <= $end9to8 ) {
     $ribbon = 'open-today.png';
index 4ac771d..aad72bf 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: McGulpinPoint
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for McGulpinPoint
-Version: 1.5.19
+Version: 1.5.20
 */