// split out taxonomy terms by vocabulary D5.7 function bowwowtheme_liquid_print_terms($nid) { $vocabularies = taxonomy_get_vocabularies(); $output = ''; return $output; } //what I want to do is merge the above code with this code ( the formating of the above with the vocab name then the terms after that. look here this is the formating I want this is my site http://bowwowimport.com/clearance/kyb-rear-shock-absorber function bowwowtheme_liquid_print_terms($nid) { $terms = taxonomy_node_get_terms($nid); $links = array(); $processed = array(); if($terms){ foreach($terms as $term){ $parents = taxonomy_get_parents_all($term->tid); foreach($parents as $parent){ if(!in_array($parent->tid, $processed)){ $links[] = l($parent->name, taxonomy_term_path($parent), array('rel' => 'tag', 'title' => strip_tags($parent->description))); $processed[] = $parent->tid; } } } $output = theme('item_list', $links); return $output; } } // Thanks Eric