Display post cateogory as a class.

Permalink Browser Info Environment
I'm new (very new) to PHP. I am looking for a way add a class to each the content-sbBlog-wrap that displays the category for the post shown in that div.

My goal here is to show three featured posts that have a class based on the category they are in so I can use CSS to display a different icon depending on the post category. I have attached an image of the section I am attempting to recreate.

I am using the ProBlog List block with a duplicate of the simple custom template Simple as to keep the original intact. I have everything working except for this. Any ideas? Thanks!

1 Attachment

Type: Discussion
Status: New
snapcridge
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.