I've been using this code to display the taxonomy term of the current post.
$terms = wp_get_post_terms($post->ID, 'custom_cat');
foreach($terms as $term){
print_r($term->name);
unset($term);
}
Which is fine, except now I have some posts with 2 or more terms associated with them and it's throwing off my layout.
Is there a way that I can show only 1 of the terms?