From d533a42776b6b4a6061799a11eba48793d894618 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 28 Dec 2016 13:34:03 -0500 Subject: [PATCH] Merged no-sidebar with glm-events-template in interior page These two templates were functioning the same so their code has been merged. --- sections/interior-page.php | 71 ++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 41 deletions(-) diff --git a/sections/interior-page.php b/sections/interior-page.php index a1aa86a..e889ec5 100644 --- a/sections/interior-page.php +++ b/sections/interior-page.php @@ -1,42 +1,31 @@ -
-
-
- - ID ) === "glm-events-template.php" ) { /*check for no side bar template and display full page */ ?> -
- -
-
- - -
-
-
- ID ) === "no-sidebar.php" ) { /*check for no side bar template and display full page */ ?> -
- -
-
- -
- -
-
- -
- -
-
- -
- -
-
- - - -
+
+
+
+ ID ) === "glm-events-template.php" || + get_page_template_slug( $post->ID ) === "no-sidebar.php" ) { /*check for no side bar template and display full page */ ?> + +
+
+
+ +
-
\ No newline at end of file +
+ + +
+ +
+
+ +
+
+
+ + + + + +
\ No newline at end of file -- 2.17.1