Here’s what I ending up using thanks to Milo, the Codex and this post from http://simple2kx.com/.
add_action( 'manage_issues_pm_posts_custom_column', 'my_manage_issues_pm_columns', 10, 2 );
function my_manage_issues_pm_columns( $column, $post_id ) {
global $post;
switch( $column ) {
/* If displaying the 'issues_type' column. */
case 'issues_type' :
if ( $terms = get_terms( 'issues_type' ) ) {
echo '<span>';
foreach ( $terms as $term ) {
// The $term is an object, so we don't need to specify the $taxonomy.
$term_link = get_term_link( $term );
// If there was an error, continue to the next term.
if ( is_wp_error( $term_link ) ) {
continue;
}
// We successfully got a link. Print it out.
echo '<a class="' . $term->name . '" href="' . esc_url( $term_link ) . '" data-type="label">' . $term->name . '</a>';
}
echo '</span>';
}
break;
/* Just break out of the switch statement for everything else. */
default :
break;
}
Once I get my color picker working (again), I’ll add that to my code so I can assign a background color dynamically. For anyone who may be wondering, I’ll probably use an inline style to set the background color where I currently have class="' . $term->name . '"
in the href.