From: Anthony Talarico Date: Thu, 9 Aug 2018 16:55:55 +0000 (-0400) Subject: fixing the off canvas menu with the new menu structure X-Git-Tag: v1.0.0^2~98 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=126f58c4ff56805e7f208d50b8babcb6318efba3;p=WP-Themes%2Fcharemisd.git fixing the off canvas menu with the new menu structure --- 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 );