Add category classes

I’m using the short code but there are some categories I would like to show in one color and then other categories should show in a different color. LesTexas60 You can use the display_posts_shortcode_post_class filter to customize the classes added to each post. Here’s how to add a class for each category attached to a post: