Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thiagoeliasr/76e8f9e876349db88a8d to your computer and use it in GitHub Desktop.
Save thiagoeliasr/76e8f9e876349db88a8d to your computer and use it in GitHub Desktop.
<?
$yourTaxonomySlugHere = get_the_terms($post->ID, 'yourTaxonomySlugHere');
if ($terms) :
foreach ($terms as $term) :
echo $term->name;
endforeach;
endif;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment