Display taxonomy color in custom post archive
You would use the code on your (archive) template file, which you use to display the custom posts. On the template the code would be placed within the Loop. For example you could have a custom post type specific archive file for this (more on Template Hierarchy). // archive-$posttype.php while ( have_posts() ) : the_post(); … Read more