Custom taxonomy term as class?

You could do something like this

<?php $terms = get_the_terms( $post->ID, 'taxonomy_name' ); ?>
<div class="myclass<?php foreach( $terms as $term ) echo ' ' . $term->slug; ?>">
    <!-- content -->
</div>

http://codex.wordpress.org/Function_Reference/get_the_terms

Leave a Comment