removing img from the events feed for the events widget
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:41:49 +0000 (09:41 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:41:49 +0000 (09:41 -0400)
replacing img tag with an anchor and css styles for the interior events widget view all
events button

parts/event-feed.php
sections/front-page.php

index 9ed5568..425d81a 100644 (file)
@@ -26,6 +26,6 @@ switch($GLOBALS['entity_page_slug']){
     <?php echo do_shortcode("[glm-members-event-list template='eventsFrontPage.html' category='$cat' limit=3]"); ?>
     <?php ?>
     <?php if($eventsPage):?>
-        <a class="button" id="calendar-link" href="<?php echo get_permalink($eventsPage->ID);?>"><img alt="View all events" src="<?php bloginfo('template_url'); ?>/assets/view-all-events-button.png"></a>
+        <a class="button" id="calendar-link" href="<?php echo get_permalink($eventsPage->ID);?>">View All Events</a>
     <?php endif;?>
 </div>
index b976ea7..c6696a2 100644 (file)
@@ -18,7 +18,7 @@
                 <div id="calendar-feed" class="row columns">
                     <h2>Upcoming Events</h2>
                       <?php echo do_shortcode("[glm-members-event-list template='eventsFrontPage.html' category='4,5' limit=3]"); ?>
-                    <a class="button" href="#">view all events</a>
+                    <a class="button" href="#">View All Events</a>
                 </div>
             </div>
         </div>