This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Category Icons


This plugin allows you to associate a unique image with each of your WordPress categories in order to prettify your pages a bit. That will make your category pages look better than 90% of the category pages out there.

Everything is configurable from the settings menu, you can use it on your index (home) page, post pages, or even your sidebar ! You can do icons only, or text and icons, and it comes with a widget for the sidebar. This wonderful plugin :

  • displays one or more icons in front of your post title or wherever you want
  • displays icons in the sidebar, with or without the category name, with or without the help of the widget
  • includes a widget. You can use multiple Category Icons widgets, include or exclude some categories, display only icons (i.e. without the category name)…
  • you can make rollover with the icons in the sidebar if you follow this tutorial
  • is able to display category icons in your RSS
  • will either show you where to place the little code needed (template tag) in your themes
  • generates pure html code of the img tag, so it gives you the freedom of doing what you want to with the icons (customizing via CSS or not)
  • generates valid XHTML (and Strict XHTML)
  • can prioritize the icons display (by Oliver Weichhold)
  • is translated in more than 20 languages (all the .po files are included, in case you want to update your language).
  • is compatible with these powerful plugins :
    My Category Order,
    Recent Posts,
    SEO Friendly Images,
    Similar Posts
  • is compatible with WordPress Network

There is also a Lite version.


I’m looking for volunteers to translate the plugin and maintain the translations up to date. It’s easy to translate it if you use the plugin Easy Translator. All the .po files are included (and the pot file too, of course), in case you want to update a language with poEdit.

Buy me a coffee

If you like this plugin, or it has benefited you, buy me a coffee.


  1. Very important ! Deactivate the Category Icons plugin if it was previously installed.
  2. Delete the old category-icons directory and upload the new category-icons directory into the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu.
  4. Go to the ‘Posts’ menu (or ‘Manage’ menu in previous versions of WordPress) and select Category Icons to use the plugin.
  5. Please visit the official website for further details and the latest information on this plugin.


Please visit the official website and How-To. Have a look at the how-to, there are some tricks to do with category icons (rollovers, display specific icon, icon by default…).


Does work, but needs modifying

The icons show, but not on the frontpage. Also, it would be very handy if you could select a parent category and automatically show the icons within the subcategories of the parent.
Read all 8 reviews

Contributors & Developers

“Category Icons” is open source software. The following people have contributed to this plugin.


Translate “Category Icons” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • I’ve added an option in the panel settings for this : “in the category page, only that category icon is displayed in front of the title if the post has more than one category”.
  • Bug fixed : the options with a checkbox were not saved correctly (!)


  • Bug fixed : if there was a call to get_cat_icon with an ID in the category page (category.php, for example), there was an error : “Fatal error: [] operator not supported for strings”.
  • Bug fixed in the widget : now the category names are displayed alphabetically.
  • The plugin works with WordPress Firewall 2.
  • The datas pulled from the DB are escaped.
  • Littles fixes.


  • As of version 2.2 of the plugin I’m breaking backwards compatibility to make the plugin simplier to maintain. Keep using version 2.1.1 if you are not on WP 2.8 yet.
  • Bug corrected : My Category Order is working again with Category Icons Widget.
  • By default, only one access is made to the database, instead of several.
  • From now on, you must use CSS to add some space around the icon.
  • Littles fixes.
  • Added languages : Indian, Persian, Romanian.


  • Bug corrected : if you had 2 categories which names were similar, you could have the same icon for each category (for example : “Network” and “PlayStation Network”) in the sidebar
  • Bug corrected : in the category page, only that category icon is displayed in front of the title if the post has more than one category
  • Bug corrected : works with multisites
  • Now if there is only one icon to display, the display priority is automatically activated
  • In the Icons management panel, you’re informed if an image is not found or not displayable
  • The put_cat_icons function (used by the widget) works with WP 3.1+
  • You can now choose to get the list from put_cat_icons to process it or to display it (default behaviour). Use this to not display the list : put_cat_icons(wp_list_categories(‘title_li=&echo=0′),’echo=false’);


  • Added 2 new tabs : How To (WP 2.8+ only) & Support the plugin


  • jQuery scripts bugs with WordPress 2.8 resolved.
  • The admin interface is successfully checked as XHTML 1.0 Transitional.
  • Bug in checkboxes in Options Tab resolved.
  • Better visual integration with WordPress 2.7+
  • You can now add multiples Category Icons widgets.
  • You can include just some categories thank to the new “Include” field in the widget.
  • Two options were missing from the start : maximum icon width & maximum icon height.
  • You can choose the access type to the database : an access for every icon (a query for each icon) which is the default option, or one access for all the icons (one query for all).
  • Added compatiblity with Rob Marsh’s plugins ( : recent posts, recent comments & similar posts. Just add in output filter : {caticons} to see the first category icon.
  • Compatible with WordPress MU 2.8.1


  • Compatibility with My Category Order added.
  • I’ve added some links to Category Icons’s blog.
  • You can now sort a column of the category icons table by clicking its header. If you want to come back to the initial sort state, refresh the page.
  • The widget is now included in category-icons.php. The file category-icons_widget.php is not needed anymore, so you just have to activate only the plugin itself (the widget is automatically activated when you activate the plugin).
  • The check for the field priority is removed. May be it will avoid some issues with MySQL…
  • New languages added : Arabic (ar) by Selim Basak, Brazilian (pt_BR) by Pedro Germani, Helder Vieira & Rodrigo Vieira Alves, Czech (cs_CZ) by Spazi, Swedish by P-C, Turkish by Selim Basak. Many thanks to them.


  • Compatibility with qTranslate updated.
  • Compatibility with Admin Drop Down Menus added.
  • Compatibility with SEO Friendly Images improved : when you used SEO plugin, the ALT and TITLE attributes in the sidebar contained the last post title instead of the category names.
  • New language added : Russian (translation by Dimox).


  • I’ve found a plugin : SEO Friendly Images. As I’ve removed the SEO thing since v2.0, I’ve added the compatibility with that plugin. (I use a filter : category_icons…)


  • A new parameter to get_cat_icon() function is available : hierarchical. It displays icons in a hierarchical order (horizontally).
  • A new language is included : japanese, thanks to Tenderfeel.
  • The plugin is now compatible with Lighter Menus plugin : it displays the links Icons, Options, Template Code.


  • You can display the sidebar icons as a block again, to do some rollover effect with CSS, for example.


  • I’ve put back the link=false default parameter for the put_cat_icons() function


  • The plugin generates valid XHTML and Strict XHTML if you don’t use the border parameter.
  • You have the choice to use CSS or an image to define the margins of the icons in the sidebar.
  • The ALT descriptions are removed. They’re empty, now.


  • A little bug in the widget is corrected (I forgot to not localize the widget id)


  • Now the icons are more “SEO friendly” : the description of the ALT attribute of the icon is the category name.
  • A new parameter is available : align, in order to align the icon when necessary.
  • A little bug in the widget has been corrected by Jean-Christophe Marie (merci!).
  • A new language is available : Danish, thank to Henrik Schack.
  • The languages are not up to date (except Danish & French), but I’m sure the translators will do their best. I promise to add strings as less as possible. 🙂


  • If you use a plugin to set category to pages, you can use put_cat_icons() to display icon(s) next to the name of the page in the sidebar.
  • Better integration in WordPress 2.5 : in order to have only one location of Category Icons, it’s now located under the Manage menu, and the Category Icons ‘Manage’ tab is now replaced by ‘Icons’.
  • An information is displayed if there’s a new version of the plugin (it can be disabled)
  • New parameter : border. If true, the result will be a border around the icon. If false (by default) no border around it.
  • There’s no more link Select and remove. Instead, there is a checkbox to select the icon(s) to be removed. Now, to edit icons, you must click on the category name, like in WordPress 2.5. So the plugin takes the ‘look & feel’ of WordPress 2.5.
  • The problem with no select or remove links should be fixed : I use another way to check the user role. (Ivan tested levels to check the role)
  • Displays informations in the footer in WordPress 2.5 :
    • displays the current version of Category Icons plugin
    • links to the following pages : FAQ, troubleshoot, and contact page
    • displays the name of the translator which is linked to his website if he provided an url. (The translator just have to enter these informations in the .po file, under the string translator_name and translator_url)
  • The category_icons.pot file is updated (there are now 66 strings). (@Translators : I need your help, please)
  • The language files are now in a subfolder named languages
  • Detects if the default upload folder is readable
  • The icons are searched recursively
  • Minors corrections of the code (no influence on the behaviour of the plugin)
  • The widget has now the ‘look & feel’ of WordPress 2.5 and the localization works correctly now.
  • The widget has now the same version as the plugin, because of a weird behaviour of WordPress server update information.
  • The RSS feeds can display the category icons.


  • Compatibility with qtranslate added.


  • A bug is corrected.


  • Chinese & Italian translation added.
  • Template Code improved a bit.
  • WordPress 2.5 RC-1 friendly.


German translation file updated (Thanks Kristian !)


  • New option : size of the space before and/or after the icons in the sidebar.
  • A widget is included to display icons in the sidebar.
  • French translation is up to date. Other language than english & french need to be updated. (thanks in advance to the translators)


  • A little bug is corrected.


  • The plugin is now compatible with WordPress Mu.


  • Just a little ‘bug’ corrected.


  • Bulgarian language added. Thanks to Kalin Dimitrov.
  • Dutch language added. Thanks to Vincent Sparreboom.
  • German language added. Thanks to Kristian Bollnow.
  • New functionnality : in the parameters of put_cat_icons() function, if you put icons_only=1, then only the icons will be displayed in the sidebar, instead of the icon AND the category name.


  • The plugin is now compatible with the ‘Top Level Categories’ plugin.
  • Now, if no class is given in the parameters, the class attribute is not added to the img tag.


  • Added Ukrainian language by Andrew S. (
  • Bug resolved : I said to put the category_icons.php file into the category_icons directory instead of category-icons directory.
    So, to be clear, you must put (if it’s not done yet) category_icons.php file in the category-icons directory.


  • Added Slovak (sk) language. Author : Samuel K. (
  • Added Spanish (es_ES) languages. Author : TechnopodMan (


  • The Code Template process has been improved.
  • Added an option to automatically patch or not the template files.


  • now, the plugin is in a directory named ‘category_icons’.
  • a bug is resolved
  • get_settings() (deprecated) replaced by get_option()
  • new functionnality :
    Through The Template Code panel, your template files are scanned and patched if they’re writable. If not, informations about where you should paste get_cat_icon() in your files are displayed.


  • a bug is resolved


  • new feature : you can now display the icons vertically, it’s like a ‘stack’ of icons, thank to a new parameter for the function get_cat_icon() : vertical_display. Set it to true if you want to use that feature.


  • A few bugs are resolved.
  • Links & images are now W3 compliant.
  • New functionnality : you can prioritize the display of icons.
  • You can display icons in the sidebar. you just have to use the new function : put_cat_icons(). * You can define the maximum number of icons to be displayed in front of the posts titles in Options.
  • You can translate the plugin into your own language thanks to the .pot file provided with the plugin
    If you translate it to another language than french, thank to send it to me in order to put it online and share it with everyone. 🙂


  • Now compatible with WordPress 2.3+