Featured image default behavior re-implemented on subpages
authorLaury GvR <laury@gaslightmedia.com>
Wed, 22 Jun 2016 12:42:34 +0000 (08:42 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 22 Jun 2016 12:42:34 +0000 (08:42 -0400)
parts/slide-show.php

index 02f7cdc..f021d8b 100644 (file)
         </div>
     <?php } else { ?>
         <div id="head-img">
-            <?php if ( is_active_sidebar( 'feature-img' ) ) : ?>
+            <?php if ( is_active_sidebar( 'feature-img' ) ) { ?>
                <?php dynamic_sidebar( 'feature-img' ); ?>
-            <?php endif; ?>
+            <?php } else { ?>
+                <?php glm_get_header(); ?>
+            <?php } ?>
         </div>
     <?php } ?>
 <?php } ?>