Add size for glm blocks
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 18 Nov 2015 15:20:22 +0000 (10:20 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 18 Nov 2015 15:20:22 +0000 (10:20 -0500)
functions.php
parts/glm-blocks.php

index 5acb3b3..d163f4e 100644 (file)
@@ -102,4 +102,5 @@ function mytheme_search_loop() {
 
 add_action('thematic_searchloop', 'mytheme_search_loop');
 // End of the Contextual/Highlight Search functions
+add_image_size('glm_blocks', '300', '300', true);
 ?>
index a32e453..ec9b276 100644 (file)
@@ -1,6 +1,6 @@
 <?php if(function_exists('fetch_all_glm_blocks')):?>
 <?php
-//$defaultBlockGroup = 1406;
+$defaultBlockGroup = 118;
 if (is_page_template('page_bay-view.php')) {
     $defaultBlockGroup = 1406;
 }