From: Anthony Talarico Date: Fri, 4 Aug 2017 15:55:12 +0000 (-0400) Subject: changing sidebars template to no sidebars X-Git-Tag: v1.0.0^2~69 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1e8cf223d2d713508e8c415b7d5eff389560a3a4;p=WP-Themes%2Fbaragacounty.git 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 --- diff --git a/no-sidebars.php b/no-sidebars.php new file mode 100644 index 0000000..fc57ff5 --- /dev/null +++ b/no-sidebars.php @@ -0,0 +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 ""; diff --git a/sidebars.php b/sidebars.php deleted file mode 100644 index 2f1d1e3..0000000 --- a/sidebars.php +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file