From e69686e5ac3ed5add9481fac54c371414f25356a Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 21 Feb 2018 11:52:13 -0500 Subject: [PATCH] Fix locations referenced by mobile oc functions --- lib/navigation.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/navigation.php b/lib/navigation.php index 2f45693..076c60e 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -49,8 +49,8 @@ if ( ! function_exists( 'government_mobile_off_canvas' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => 'government', // adding custom nav class - 'theme_location' => 'government-bar', // where it's located in the theme + 'menu_class' => 'gov', // adding custom nav class + 'theme_location' => 'gov-nav', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text @@ -73,7 +73,7 @@ if ( ! function_exists( 'chamber_mobile_off_canvas' ) ) { 'container_class' => '', // class of container 'menu' => '', // menu name 'menu_class' => 'chamber', // adding custom nav class - 'theme_location' => 'chamber-bar', // where it's located in the theme + 'theme_location' => 'chamber-nav', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text @@ -95,8 +95,8 @@ if ( ! function_exists( 'visitors_mobile_off_canvas' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => 'visitors', // adding custom nav class - 'theme_location' => 'visitors-bar', // where it's located in the theme + 'menu_class' => 'cvb', // adding custom nav class + 'theme_location' => 'cvb-nav', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text @@ -118,8 +118,8 @@ if ( ! function_exists( 'economic_mobile_off_canvas' ) ) { 'container' => false, // remove nav container 'container_class' => '', // class of container 'menu' => '', // menu name - 'menu_class' => 'economic', // adding custom nav class - 'theme_location' => 'river-bar', // where it's located in the theme + 'menu_class' => 'edc', // adding custom nav class + 'theme_location' => 'edc-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text -- 2.17.1