Update image size for the blog featured image.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 12 Oct 2018 19:29:01 +0000 (15:29 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 12 Oct 2018 19:29:01 +0000 (15:29 -0400)
Was getting the largest size. IE would show it actual size.

functions.php
parts/blog-feed-front.php
style.css

index 626161c..ef4557c 100644 (file)
@@ -217,6 +217,7 @@ function is_post_type($type){
 
 add_action('thematic_searchloop', 'mytheme_search_loop');
 // End of the Contextual/Highlight Search functions
+add_image_size('blog-feed-front', '370', '300', true);
 add_image_size('glm_blocks', '538', '660', true);
 add_image_size('nav_dropdown', '225', '133', true);
 add_image_size('glm_blocks_small', '570', '315', array( 'center', 'bottom' ));
index ee94c98..0166625 100644 (file)
@@ -23,7 +23,7 @@
                             </div>
                         <?php endforeach; ?>
                         <div class="view-all-events-btn  front-page-blocks-widget-button">
-                            <a class="view-all-link" href="<?php echo esc_url( home_url( '/' ) ); ?>blog">View All Articles</a> 
+                            <a class="view-all-link" href="<?php echo esc_url( home_url( '/' ) ); ?>blog">View All Articles</a>
                         </div>
                     </div>
 
@@ -32,7 +32,7 @@
                         <?php echo do_shortcode('[glm-members-event-list template="eventsFrontPage.html" limit="3" category="1,2,3,4,5,6,7"]');?>
 
                         <div class="view-all-events-btn  front-page-blocks-widget-button">
-                            <a class="view-all-link" href="<?php echo get_permalink(1482); ?>">View All Events</a> 
+                            <a class="view-all-link" href="<?php echo get_permalink(1482); ?>">View All Events</a>
                         </div>
                     </div>
 
                         <div class="nightlife-block events-block">
                             <div class="nightlife-container ">
                                 <div class="nightlife-title neon-red">Night Life</div>
-                                <?php echo do_shortcode('[glm-members-event-list template="nightLife.html" limit="3" category="8"]');?>  
-            
+                                <?php echo do_shortcode('[glm-members-event-list template="nightLife.html" limit="3" category="8"]');?>
+
                             </div>
                             <div class="view-all-nightlife-button">
-                                <a class="view-all-link" href="<?php echo get_permalink(1482); ?>?category=8#glm-events-search-form">View Night Life Events</a> 
+                                <a class="view-all-link" href="<?php echo get_permalink(1482); ?>?category=8#glm-events-search-form">View Night Life Events</a>
                             </div>
                         </div>
                     </div>
index eef9207..ecc81fa 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: GaylordCVB
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for GaylordCVB
-Version: 1.0.28
+Version: 1.0.30
 */