Exclude a specific tag from the get_the_tags list
$tags = get_the_tags( $post->ID ); $separator=” “; $output=””; if($tags){ echo ‘<div class=”entry-tags”>’; echo “<p><span>” . __(‘Tags’, ‘tracks’) . “</span>”; foreach($tags as $tag) { // dpm($tag) here by uncomment you can check tag slug which you want to exclude if($tag->slug != “yourtag”){ // replace yourtag with you required tag name $output .= ‘<a href=”‘.get_tag_link( $tag->term_id ).'” … Read more