From 12e079a872da6b03e816e424f8d30d6260ac9c0c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 9 Aug 2017 16:33:03 -0400 Subject: [PATCH] Sidebars no longer showing on events-template.php --- events-template.php | 1 - sections/entity-interior.php | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/events-template.php b/events-template.php index 4a70b9a..d9427a4 100644 --- a/events-template.php +++ b/events-template.php @@ -2,6 +2,5 @@ /* Template Name: Events Template */ -$template !== 'no-sidebars.php'; get_template_part('index'); ?> \ No newline at end of file diff --git a/sections/entity-interior.php b/sections/entity-interior.php index d87bf2b..38c86c6 100644 --- a/sections/entity-interior.php +++ b/sections/entity-interior.php @@ -7,10 +7,10 @@
"; } else if($right_sidebar) { @@ -31,7 +31,7 @@ get_template_part('parts/main-content'); echo "
"; - if($right_sidebar && $template !== 'no-sidebars.php'){ + if ($right_sidebar && $template !== 'no-sidebars.php' && $template !== 'events-template.php' ) { echo ""; -- 2.17.1