From bfa15eb07e9084d81b4604f5a4acebce08f536d0 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 2 Nov 2016 11:26:24 -0400 Subject: [PATCH] adding new off canvas menu for regions categories --- lib/navigation.php | 14 +++++++++++++- parts/off-canvas-menu.php | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/navigation.php b/lib/navigation.php index 96d583b..e634ae0 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -1,7 +1,8 @@ 'Site Navigation' + 'top-bar' => 'Site Navigation', + 'regions' => 'Regions' )); /** @@ -37,6 +38,17 @@ if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) { echo ''; } } +/** + * Mobile off-canvas + */ +if ( ! function_exists( 'glm_regions_mobile_off_canvas' ) ) { + function glm_regions_mobile_off_canvas() { + echo '
'; + echo '
'; + } +} function glm_get_mobile_nav_menu( $theme_location ) { diff --git a/parts/off-canvas-menu.php b/parts/off-canvas-menu.php index 4900aec..4a86310 100644 --- a/parts/off-canvas-menu.php +++ b/parts/off-canvas-menu.php @@ -1,5 +1,6 @@