reduced max characters for blocks button text to 12 because they wrap in smaller...
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 19:52:54 +0000 (15:52 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 12 Aug 2016 19:52:54 +0000 (15:52 -0400)
parts/glm-blocks.php

index 860033f..c5c7abf 100644 (file)
@@ -21,7 +21,7 @@
                     </a>
                     <?php endif;?>
                     <p><?php echo $block->post_content . $block->post_excerpt;?></p>
-                    <a class="blocks-readmore" href="<?php echo $block->url;?>"><button><?php echo substr(strip_tags($block->post_content),0,22); ?></button></a>
+                    <a class="blocks-readmore" href="<?php echo $block->url;?>"><button><?php echo substr(strip_tags($block->post_content),0,12); ?></button></a>
                 </div>
     </div>
     <?php endforeach;?>