From bc8a560a7263f7fa76733cea5804874fb203a744 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 1 Aug 2017 10:19:12 -0400 Subject: [PATCH] fixing html validation by moving the menu wrapper outside of the conditional in topbar topbar file had the main menu wrapper inside of the conditional which broke the mark up on the front page --- sections/header.php | 2 +- sections/top-bar.php | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sections/header.php b/sections/header.php index 56a9f82..edbf2c8 100644 --- a/sections/header.php +++ b/sections/header.php @@ -25,9 +25,9 @@ - + diff --git a/sections/top-bar.php b/sections/top-bar.php index 11ed2d4..a7905d0 100644 --- a/sections/top-bar.php +++ b/sections/top-bar.php @@ -14,9 +14,10 @@ switch ($GLOBALS['entity_page_slug']) { break; default: break; -} -if( in_array(get_page_template(), page_templates()) || in_array($GLOBALS['entity_page_slug'],get_landing_pages()) ){ ?> -