changing the default block id in the regions map template
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Nov 2016 21:42:53 +0000 (16:42 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 14 Nov 2016 21:42:53 +0000 (16:42 -0500)
regions-map.php

index a2f4be2..835d2d4 100644 (file)
@@ -26,8 +26,8 @@
                 </div>
                 <div class="small-12 medium-4 show-for-large-up columns">
                 <?php
-                    $default_block = get_post(1608); 
-                    $default_image = wp_get_attachment_image_src(get_post_thumbnail_id(1608),'glm-block-image');  ?>
+                    $default_block = get_post(592); 
+                    $default_image = wp_get_attachment_image_src(get_post_thumbnail_id(592),'glm-block-image');  ?>
                     <div class="region-image"><img class="region-thumb" src="<?php echo $default_image[0];?>"></div>
                     <div class="region-title"><?php echo $default_block->post_title;?></div>
                     <div class="region-content"><?php echo $default_block->post_content; ?></div>