I am customizing a ClassiPress theme and I want to style the posts differently based on the parent category. I have created 3 categories and then several child categories. I added the post_class function to the single and the post list but it is not outputting either the parent or the child category. (It does out put though "post-32 ad_listing type-ad_listing status-publish hentry")
ClassiPress creates a custom post type with a custom taxonomy, so perhaps that might be the track to take, but my point is I want to style the post using post_class and it would be awesome if I could just output the parent category to keep the code concise
I have read tons of posts and none of the solutions seemed to work for me.
Any Ideas???