Version: 1.7.3 Display an image for each category associated with a post.
Display an image for each category associated with a post.
This plugin provides the templates tag
c2c_the_category_image() which basically reproduces and extends the functionality of WordPress's core function
the_category() to add the ability to display a category image instead of the category name in the link to the category archive. With its $image_extensions argument defaulted to
"", the plugin could be a drop-in replacement for
the_category(). As is done in
the_category(), the image or text for each category is also a link back to that category's archive.
Related info about the function:
is another provided function, which is identical to
c2c_the_category_image() except that it doesn't echo the result.