How toHow to display a category icon in a category page

If you have a category.php page & want to display the category icon in it, here is the code :

get_cat_icon("cat=".get_cat_ID( single_cat_title("", false) ));

9 thoughts on “How to display a category icon in a category page

  1. Hi Julie,

    get_cat_icon("class=myclass&cat=".get_cat_ID( single_cat_title("", false) ));

  2. Hi,

    I am moving on to the newer version of WP and am testing out your plugin. It would be nice if I can have:

    small images of *all categories* in all pages – except – in case of single post pages where a larger image of the *particular category* would be displayed.

    In the older version of WP – the plugin that I was using provided this functionality.


  3. Hi,

    thank you for your interest. I’m sorry that the plugin does not do what you want. May be you should contact the author of the plugin you were using.

  4. Please use timbthumb script for auto generate thumbnail for small icon.

    Thank You for providing nice plugin…

  5. I doesn’t link properly on my site.. It generates link without “/” in the beginning of img src tag. What should i do?