/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php if (count($taxonomy)): ?> <?php $terms = taxonomy_node_get_terms_by_vocabulary($node->nid, 1); foreach ($terms as $term) { $tags[] = l($term->name, taxonomy_term_path($term)); } if ($tags){ print t("Professional Areas") . ": " . implode(' | ', $tags); } ?> <br /> <?php $terms = taxonomy_node_get_terms_by_vocabulary($node->nid, 2); foreach ($terms as $term) { $tagsTwo[] = l($term->name, taxonomy_term_path($term)); } if ($tagsTwo){ print t("Focus Areas") . ": " . implode(' | ', $tagsTwo); }?> <?php endif; ?>