From 1760e5ae6bbce9aa5b503071e5551b2e31a7a354 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 16 Dec 2016 13:16:28 -0500 Subject: [PATCH] removing extra line space after closing php tag in the menu-walker.php file, it was causing the extra space above html tag --- functions.php | 24 +----------------------- lib/menu-walker.php | 4 +--- sections/top-bar.php | 3 +-- 3 files changed, 3 insertions(+), 28 deletions(-) diff --git a/functions.php b/functions.php index bc62bc2..2e98908 100644 --- a/functions.php +++ b/functions.php @@ -143,26 +143,4 @@ function is_post_type($type){ } add_action('thematic_searchloop', 'mytheme_search_loop'); -// End of the Contextual/Highlight Search functions - -//$theme_locations = get_nav_menu_locations(); -//$menu_obj = get_term( $theme_locations['top-bar'], 'nav_menu' ); -//$menu_name = $menu_obj->slug; -// -//$topbar = wp_get_nav_menu_items($menu_name); -////nice_print($topbar); -//foreach($topbar as $tb=>$data){ -// if($data->menu_item_parent === '0'){ -// $post_ids['menu-item-'.$data->ID] = get_post_meta( $data->ID, '_menu_item_object_id', true ); -// } -//} -// -//foreach($post_ids as $post=>$value){ -// $post_data[$post] = get_post($value); -//} -//foreach($post_data as $pd){ -// if( has_excerpt($pd->ID ) ){ -// -// } -//} -//nice_print($post_data); \ No newline at end of file +// End of the Contextual/Highlight Search functions \ No newline at end of file diff --git a/lib/menu-walker.php b/lib/menu-walker.php index 5dcb369..ac25a5b 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -53,7 +53,6 @@ class Glm_Theme_Top_Bar_Walker extends Walker_Nav_Menu { if ($item_style) $output .= $item_style; $output .= $item_html; - } function start_lvl( &$output, $depth = 0, $args = array() ) { $output .= "\n