addin button class to the events feed widget link
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:26:21 +0000 (09:26 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Aug 2017 13:26:21 +0000 (09:26 -0400)
view all events link needed button class

parts/event-feed.php

index da4b5a2..9ed5568 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 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);?>"><img alt="View all events" src="<?php bloginfo('template_url'); ?>/assets/view-all-events-button.png"></a>
     <?php endif;?>
 </div>