Blueprint
- Get all taxonomies.
- Loop through them.
- Get terms for current post.
Code
// Suppose you already have $post
foreach ( get_object_taxonomies( $post ) as $taxonomy ) {
foreach ( get_the_terms( $post->ID, $taxonomy ) as $term ) {
// Do whatever you'd like with $term
echo $term->name;
}
}
References