From 943af291d5b365765045ecf0a78368e732e855f3 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 14 Feb 2019 17:21:31 -0500 Subject: [PATCH] major: remove need for several templates, simplify code, CF & admin use - GLM Associate template now takes care of its sidebar through the glma setting of 'sidebar area'. Now these pages can use the 'no-sidebar' template - Gallery Template was essentially already using a no-sidebar template - This all is achieved by allowing 'Top Content' CF on any template rather than only on Gallery Templates, as is required by the request to be able to show a gallery using Top Content on GLM Associate template pages (and virtually any page) - Reduced 'default' code in Interior Page file, as a big part of this is now handled in the County Landing template --- county-child-page-template.php | 5 -- sections/interior-page.php | 131 +++++++++------------------------ 2 files changed, 35 insertions(+), 101 deletions(-) delete mode 100644 county-child-page-template.php diff --git a/county-child-page-template.php b/county-child-page-template.php deleted file mode 100644 index 41cefe7..0000000 --- a/county-child-page-template.php +++ /dev/null @@ -1,5 +0,0 @@ - - -ID ) ); - ?> -
"> ID), 'Water') !== false ){ - $memberCategory = '25'; // L: 3, dev70: 25 + $memberCategory = '3'; // L: 3, dev70: 25 } else if(strpos(get_the_title($post->ID), 'Light') !== false ){ - $memberCategory = '21'; // L: 4, ddev70: 21 + $memberCategory = '4'; // L: 4, ddev70: 21 } else { } } ?> @@ -28,30 +24,26 @@ - + - ID) )) { ?>
ID); ?> @@ -71,25 +63,35 @@
- - $k"; - } - ?>
+ + +
+
+ ID); ?> +
+
+
- + + + +
+
+ ID); ?> +
+
+ + + + +
@@ -97,49 +99,6 @@
- -
-
- ID); ?> -
-
-
-
- ID); ?> -
-
-
-
- -
-
- - - -
- -
-
- -
-
- ID); ?> -
- - - -
-
- -
-
-
-
- ID); ?> -
-
- -
@@ -147,39 +106,19 @@
+ - - -
-
- -
-
-
- - -
- -
-
Show More
- - -
- - - - - -
- - - + + + +
+
-- 2.17.1