From 1e8cf223d2d713508e8c415b7d5eff389560a3a4 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 4 Aug 2017 11:55:12 -0400 Subject: [PATCH] changing sidebars template to no sidebars giving all pages sidebars by default, if they don't want sidebars, the no sidebars template can be assigned --- sidebars.php => no-sidebars.php | 2 +- sections/entity-interior.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename sidebars.php => no-sidebars.php (57%) diff --git a/sidebars.php b/no-sidebars.php similarity index 57% rename from sidebars.php rename to no-sidebars.php index 2f1d1e3..fc57ff5 100644 --- a/sidebars.php +++ b/no-sidebars.php @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/sections/entity-interior.php b/sections/entity-interior.php index 86c053e..e92da0f 100644 --- a/sections/entity-interior.php +++ b/sections/entity-interior.php @@ -6,7 +6,7 @@
"; - if($sidebar && $template === 'sidebars.php'){ + if($sidebar && $template !== 'no-sidebars.php'){ echo ""; -- 2.17.1