Created
May 7, 2014 15:18
-
-
Save nickberens360/ff997d154e920ce9c79a to your computer and use it in GitHub Desktop.
Wordpress: display custom taxonomy name
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
<?php | |
$terms = get_the_terms( $post->ID , 'taxonomyname' ); | |
foreach ( $terms as $term ) { | |
echo $term->name; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment