From a0d190257fe79263de4afa397f7c0519407c329a Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Fri, 13 Jan 2017 10:22:41 -0500 Subject: [PATCH] fixing error I made an error and in process of fixing it. --- header.php | 5 ++++- lib/navigation.php | 24 +----------------------- 2 files changed, 5 insertions(+), 24 deletions(-) diff --git a/header.php b/header.php index 7652e95..7ff18e6 100644 --- a/header.php +++ b/header.php @@ -40,7 +40,10 @@
- +
diff --git a/lib/navigation.php b/lib/navigation.php index c18f5dc..5a47e20 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -4,8 +4,7 @@ register_nav_menus(array( 'top-bar' => 'Site Navigation', 'footer' => 'Footer Navigation', 'chamber' => 'Chamber Navigation', - 'community' => 'Community Navigation', - 'second-header' => 'Secondary Header Navigation' + 'community' => 'Community Navigation' )); /** @@ -92,27 +91,6 @@ if ( ! function_exists( 'glm_theme_chamber' ) ) { )); } } -/** - * Secondary Header Navigation -**/ -if ( ! function_exists( 'glm_theme_second_header' ) ) { - function glm_theme_chamber() { - wp_nav_menu(array( - 'container' => false, // remove nav container - 'container_class' => '', // class of container - 'menu' => '', // menu name - 'menu_class' => '', // adding custom nav class - 'theme_location' => 'second-header', // where it's located in the theme - 'before' => '', // before each link - 'after' => '', // after each link - 'link_before' => '', // before each link text - 'link_after' => '', // after each link text - 'depth' => 3, // limit the depth of the nav - 'fallback_cb' => false, // fallback function (see below) - 'walker' => new Glm_Theme_Top_Bar_Walker() - )); - } -} /** * Mobile off-canvas */ -- 2.17.1