From: Anthony Talarico Date: Wed, 2 Nov 2016 15:26:24 +0000 (-0400) Subject: adding new off canvas menu for regions categories X-Git-Tag: v1.0.12^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=bfa15eb07e9084d81b4604f5a4acebce08f536d0;p=WP-Themes%2Ffrancejourneys.git adding new off canvas menu for regions categories --- 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 @@