Plugin Directory

Category Icons

The No. 1 plugin to assign icons to categories. Category Icons allows you to associate a unique image with each of your WordPress categories.


  • 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 (http://rmarsh.com/) : 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. (http://airman.myphotos.cc/)
  • 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.



  • 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+

Requires: 2.8 or higher
Compatible up to: 3.5.2
Last Updated: 2013-7-22
Active Installs: 6,000+


1.7 out of 5 stars


0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
50,2,1 100,1,1
100,1,1 100,3,3 100,1,1 100,1,1
50,6,3 100,1,1 100,1,1 100,1,1
0,5,0 100,1,1
0,2,0 0,1,0