Update graphic for hours
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Nov 2015 16:55:44 +0000 (11:55 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 5 Nov 2015 16:55:44 +0000 (11:55 -0500)
parts/slide-show.php

index 6c150d3..c2a18e7 100644 (file)
@@ -8,14 +8,8 @@
     ?>
     </div>
     <div style="text-align: center">
-    <?php $today = mktime(); ?>
-    <?php if( date('Y', $today) >= '2015' && date('n', $today) >= 10 && date('j', $today) >= 4 ) : ?>
-        <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/time-ribbon_9-7.png">
-    <?php elseif( date('Y', $today) >= 2015 && date('n', $today) >= 11 && date('j', $today) >= 1 ) : ?>
+<?php $today = mktime();?>
         <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/time-ribbon_closed.png">
-    <?php else : ?>
-        <img id="open" class="small-centered medium-uncentered" src="<?php echo get_template_directory_uri(); ?>/assets/open-today.png">
-    <?php endif; ?>
     </div>
 
 </div>