Anchors instead of Divs for the bridge cam frontpage action items
authorLaury GvR <laury@gaslightmedia.com>
Mon, 17 Oct 2016 16:50:45 +0000 (12:50 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 17 Oct 2016 16:50:45 +0000 (12:50 -0400)
parts/action-items.php

index bdbcdd7..d6887ab 100644 (file)
                 </a>
             </div>
             <div class="front-action-image-container">
-                <div class="front-action-image" style="background-image: url(<?php bloginfo('template_url'); ?>/assets/cam-image.jpg);">
-                </div>
-                
+                <a class="front-action-image"  href="<?php echo get_permalink(645); ?>" style="background-image: url(<?php bloginfo('template_url'); ?>/assets/cam-image.jpg);">    
+                </a>
             </div>
             <div class="front-action-image-container">
-                <div class="front-action-image" style="background-image: url(http://randomrab.com/wp-content/uploads/2015/05/thumpimage.jpg);">
-                </div>
+                <a class="front-action-image"  href="<?php echo get_permalink(645); ?>" style="background-image: url(http://randomrab.com/wp-content/uploads/2015/05/thumpimage.jpg);">    
+                </a>
             </div>
             <!-- This commented out blog is how we were doing it before. It seems, given the requirements, that
                     background images are the only way to go. But if we for any reason want to go back to this,