arulmjoseph
11/8/2017 - 2:41 AM

get custom taxonomy name query post

<?php 
// get custom taxonomy name
$terms = get_the_terms( $post->ID , 'your taxonomy name' ); 
                    foreach ( $terms as $term ) {
                        $term_link = get_term_link( $term, 'your taxonomy name' );
                        if( is_wp_error( $term_link ) )
                        continue;
                    echo '<a href="' . $term_link . '">' . $term->name . '</a>';
                    } 
                ?>