changed button text to reflect the blocks content
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 16:36:15 +0000 (12:36 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 16:36:15 +0000 (12:36 -0400)
parts/glm-blocks.php

index 514a3ac..d86b425 100644 (file)
@@ -19,7 +19,7 @@
                     </a>
                     <?php endif;?>
                     <p><?php echo $block->post_content . $block->post_excerpt;?></p>
-                    <a class="blocks-readmore" href="<?php echo $block->url;?>"><button>Read More...</button></a>
+                    <a class="blocks-readmore" href="<?php echo $block->url;?>"><button><?php echo $block->post_content; ?></button></a>
                 </div>
     </div>
     <?php endforeach;?>