From: Steve Sutton Date: Tue, 13 Jun 2017 20:54:44 +0000 (-0400) Subject: Update the side nav function X-Git-Tag: v1.0.9^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=2bfb372426be030e5bb1c87a1c97259e9d4f00fe;p=WP-Themes%2Fpetoskey.git Update the side nav function This is to use for the 4 menus or sub menus. --- diff --git a/lib/navigation.php b/lib/navigation.php index b83e7ee..dbe9281 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -153,7 +153,7 @@ function glm_get_menu_options() return $menu_options; } -function glm_side_menu($mobile = false) { +function glm_side_menu() { global $post; @@ -199,7 +199,11 @@ function glm_side_menu($mobile = false) { // get Main level $subs = $sideMenu[0]; } - + echo '

target) { + echo ' target="'.$pageHead->target.'"'; + } + echo '>'.$pageHead->title.'

'; // if(is_page(142) || 142 == $post->post_parent || is_tree(142)){ // echo '

CHAMBER

'; @@ -215,9 +219,6 @@ function glm_side_menu($mobile = false) { } echo '>'.$menu_item->title.''; } - if ($mobile) { - echo ''; - } echo ''; } diff --git a/sidebar-nav-template.php b/sidebar-nav-template.php index 7a0fdda..ff01a88 100644 --- a/sidebar-nav-template.php +++ b/sidebar-nav-template.php @@ -12,7 +12,9 @@ get_header(); ?>
- +
@@ -24,4 +26,4 @@ get_header(); ?>
- \ No newline at end of file +