I'm working on a custom theme in which I've created custom post types with custom taxonomies. On a page with a loop that displays a list of all the custom posts, I would like to also display the terms of the custom taxonomy that is associated with each post in the loop. I'm able to do this using:
the_terms( $post->ID, 'research-category', '', '', '' );
However, that displays the terms as links and I simply want to display the terms as plain text. I've searched online and found a few spotty hacks that haven't quite worked for me, so I'm hoping someone here can set me straight. There's got to be a way to either strip the link tags from the output, or query and display the terms as plain text...but I'm not quite advanced enough to figure it out on my own. Thanks in advance!