Assign an icon to a category post

Is there a way to assign an icon to a category post as well as the posts original image that’s set in the featured images?

So if had a post about grapes I would have an image of some grapes in the thumbnail but I’d also have a grape icon from the grapes category attached to the preview post. This is an example of what I mean http://wordpress.thebebel.com/showcase/bloggaexport/

Read More

Thanks

Related posts

Leave a Reply

4 comments

  1. You could do that in template. Have an array of $category_icons = (category_id => url_to_icon,…) and then where you want to show the icon, you just use <img src="<?$category_icons[$cat_id]?>"> where $cat_id would be the current category ID.