Forked from brunomonteiro3/Taxonomy items list (inside a post)
Last active
August 29, 2015 14:25
-
-
Save thiagoeliasr/76e8f9e876349db88a8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$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