template taxonomy
public php v1 · immutable<?php// split out taxonomy terms by vocabularyfunction bowwowtheme_liquid_print_terms($nid) { $terms = taxonomy_node_get_terms($nid); if($terms){ foreach($terms as $term){ $parents = taxonomy_get_parents($term->tid); foreach($parents as $parent){ $links[] = l($parent->name, taxonomy_term_path($parent), array('rel' => 'tag', 'title' => strip_tags($parent->description))); } } $output = theme('item_list', $links); return $output; }}?>