apamphilon

Loop through taxonomy terms

//gets taxonomy term name
<?php $terms = wp_get_post_terms($post->ID, 'taxonomy_name'); ?>

<?php 
    $i = 1; foreach ($terms as $term) {
    if ($i != 1) { echo ', '; } echo $term->name; $i++; }
?>

Comments: