From: Anthony Talarico Date: Tue, 1 Aug 2017 14:19:12 +0000 (-0400) Subject: fixing html validation by moving the menu wrapper outside of the conditional in topbar X-Git-Tag: v1.0.0^2~89 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bc8a560a7263f7fa76733cea5804874fb203a744;p=WP-Themes%2Fbaragacounty.git 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 --- 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()) ){ ?> -