I have a series of posts within a custom post type which are all have a term within the taxonomy "collection." Each post is associated with no more than one term within the "collection" taxonomy. I want to create a link under each post that says something like "More in this Collection," how can I dynamically create a link to the term that it belongs in?
When I use the following snippet, it shows a list of terms as links. I just need the permalink so I can create that custom link, and not the name of the term associated with it.
<?php echo get_the_term_list( $post->ID, 'collection', '', ', ', '' ); ?>
What I'm trying to accomplish is a dynamic way to write something like this:
<a href="TERM_PERMALINK">More in this Collection</a>