fixing conditional that removes sidebar from all non events template pages
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 26 Jan 2017 21:25:55 +0000 (16:25 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 26 Jan 2017 21:25:55 +0000 (16:25 -0500)
sidebar.php

index d26f115..f5d8110 100644 (file)
@@ -1,4 +1,4 @@
-<?php if ( !get_page_template_slug( $post->ID ) === "events-template.php" ) { ?>
+<?php if ( get_page_template_slug( $post->ID ) !== "events-template.php" ) { ?>
 <div id="side-nav" class="medium-4 large-3 columns show-for-medium-up">
     <div class="row collapse">
         <?php glm_side_menu(); ?>