Insert taxonomy slug into loop class
I would not use query_posts and instead use post_class and a new WP_Query object. to insert the taxonomy slugs. This is more “future proof” and you can put it in a plugin to keep the same functionality across themes. This works the same exact way as what you’re doing (get_the_terms, etc), but it keeps a … Read more