adding all events link to the bottom of the sidebar events widget on the front page
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 Jan 2017 15:48:23 +0000 (10:48 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 31 Jan 2017 15:48:23 +0000 (10:48 -0500)
parts/sidebar.php

index f9a1f1a..13a626e 100644 (file)
@@ -1,13 +1,10 @@
 <?php if (is_front_page()) { ?>
 <div class="small-10 small-centered medium-uncentered medium-12 events_mini columns">
-    <h4 class="text-left">Events</h4>
-    
-  
-<!--    <a class="small-centered columns medium-text-right" id="glm-all-events" href="<?php echo esc_url(get_permalink(27)); ?>"><button>View All Events</button></a>-->
+
     <form class="text-left">
        <?php get_template_part('parts/event-feed'); ?>
+           <a class="small-centered columns medium-text-right" id="glm-all-events" href="<?php echo esc_url(get_permalink(16)); ?>"><button>View All Events</button></a>
         <label for="frontpage-sidebar"><h4>Quick Links</h4></label>
-        
         <?php get_template_part("parts/frontpage-sidebar-dropdown") ?>
     </form>
 </div>