}
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
if ($item_style)
$output .= $item_style;
$output .= $item_html;
-
}
function start_lvl( &$output, $depth = 0, $args = array() ) {
$output .= "\n<ul class=\"sub-menu dropdown\">\n";
}
}
endif;
-?>
-
+?>
\ No newline at end of file