From: Steve Sutton Date: Thu, 21 May 2015 15:35:57 +0000 (-0400) Subject: Merge menus together X-Git-Tag: v1.0.2~32 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=aadedd0eb6d026511f9878ee855107b8ac95aec0;p=WP-Themes%2FMunising.git Merge menus together So we can use just one menu --- diff --git a/lib/navigation.php b/lib/navigation.php index 3cf3aff..85a16ba 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -1,9 +1,9 @@ 'Top Bar', - 'mobile-off-canvas' => 'Mobile', - 'footer' => 'Footer' + 'top-bar' => 'Site Navigation', + //'mobile-off-canvas' => 'Mobile', + //'footer' => 'Footer' )); /** @@ -38,7 +38,7 @@ if ( ! function_exists( 'munisingcvb_mobile_off_canvas' ) ) { 'container_class' => '', // class of container 'menu' => '', // menu name 'menu_class' => 'off-canvas-list', // adding custom nav class - 'theme_location' => 'mobile-off-canvas', // where it's located in the theme + 'theme_location' => 'top-bar', // where it's located in the theme 'before' => '', // before each link 'after' => '', // after each link 'link_before' => '', // before each link text @@ -87,4 +87,4 @@ if ( ! function_exists( 'munisingcvb_add_menuclass' ) ) { return preg_replace( $find, $replace, $ulclass, 1 ); } add_filter( 'wp_nav_menu','munisingcvb_add_menuclass' ); -} \ No newline at end of file +} diff --git a/parts/off-canvas-menu.php b/parts/off-canvas-menu.php index 2bd6794..c35ee84 100644 --- a/parts/off-canvas-menu.php +++ b/parts/off-canvas-menu.php @@ -1,9 +1,12 @@ \ No newline at end of file +