Question with get_the_term_list
You could use get_terms() and loop through it – using the term description as the “short name” and slug as the specific class ( or you could use an array of colors of your choice ). Let’s look at a quick example: <?php $terms = wp_get_post_terms( $post_id, ‘category’ ); if( ! empty( $terms ) ) … Read more