changing from full width template to events list template as to execute do shortcode...
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Sep 2016 19:36:43 +0000 (15:36 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 21 Sep 2016 19:36:43 +0000 (15:36 -0400)
functions.php
sections/interior-page.php

index 4b69bd3..caee3db 100644 (file)
@@ -212,7 +212,7 @@ add_filter( 'custom_page_templates', function( $now_templates ) {
     // Below are some commented examples of custom quasi-templates.
     $templates = array(
        'page-chamber'       => 'Chamber Page',
-        'full-width'        => 'Full Width'
+        'events-list'        => 'Events List'
     //    'any-template-slug' => 'Sample Template' ,
     );
 
index 9642400..4075d71 100644 (file)
@@ -21,8 +21,8 @@
                             <?php get_template_part('parts/chamber-sidebar-left'); ?>
                          </div>    
                         
-                <?php } else if(get_page_template_slug( $post->ID ) == "full-width") { ?>  
-                     <div id="full-width" class="small-12 columns">
+                <?php } else if(get_page_template_slug( $post->ID ) == "events-list") { ?>  
+                     <div id="events-list" class="small-12 columns">
                             <?php echo do_shortcode("[glm-members-event-list]"); ?>
                      </div>
                 <!-- check for chamber page template -->