Update the shortcode for the new calendar frontpage output
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Jun 2016 12:42:04 +0000 (08:42 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 15 Jun 2016 12:42:46 +0000 (08:42 -0400)
Using our shortcode with the new view for frontPage

sidebar.php

index 0d0080c..72d8cb4 100644 (file)
@@ -2,7 +2,8 @@
                             <div class="row">
                                 <div id="sidebar" class="small-12 columns">
                                     <h1>Events</h1>
-                                    <?php echo do_shortcode('[ai1ec view="stream" events_limit="3"]'); ?>
+                                                                       <?php echo do_shortcode('[glm-members-event-list template=frontPage limit=3]'); ?>
+                                    <?php //echo do_shortcode('[ai1ec view="stream" events_limit="3"]'); ?>
                                     <?php $eventsPage = get_post(3035);?>
                                     <?php if($eventsPage):?>
                                     <a id="calendar-link" href="<?php echo get_page_link($eventsPage->ID);?>"><img alt="View all events" src="<?php bloginfo('template_url'); ?>/assets/view-all-events-button.png"></a>