From 126f58c4ff56805e7f208d50b8babcb6318efba3 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 9 Aug 2018 12:55:55 -0400 Subject: [PATCH] fixing the off canvas menu with the new menu structure --- lib/navigation.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/lib/navigation.php b/lib/navigation.php index 88d8f40..1f225d8 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -77,15 +77,29 @@ if ( ! function_exists( 'glm_theme_menus' ) ) { /** * Mobile off-canvas */ + if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) { - function glm_theme_mobile_off_canvas($location) { + function glm_theme_mobile_off_canvas() { echo '
'; echo '
'; } } +// if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) { +// function glm_theme_mobile_off_canvas($location) { +// echo '
'; +// echo '
'; +// } +// } if ( ! function_exists( 'glm_theme_additional_off_canvas' ) ) { function glm_theme_additional_off_canvas($location) { echo glm_get_mobile_nav_menu( $location ); -- 2.17.1