From: Laury GvR Date: Wed, 9 Aug 2017 20:33:03 +0000 (-0400) Subject: Sidebars no longer showing on events-template.php X-Git-Tag: v1.0.0^2~49 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=12e079a872da6b03e816e424f8d30d6260ac9c0c;p=WP-Themes%2Fbaragacounty.git Sidebars no longer showing on events-template.php --- 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 "";