LiteBrand new plugin : Category Icons Lite

I wanted it to be simple to use : it does the job all by itself ! No need to search where to put the template tags.

It’ll work with a lot of themes. Just try. If you have an issue, make sure your template has the post title preceded by the permalink and its title :

<a href="<?php the_permalink() ?>" ... title="<?php the_title(); ?>">
<?php the_title(); ?>

Or :

<a title="<?php the_title(); ?>" ... href="<?php the_permalink() ?>">
<?php the_title(); ?>

How to use it :

1. Upload an image as usual via the Media Menu
2. Select the category you want to assign to the image
3. Save the changes

Category Icons Lite

Category Icons Lite

That’s it !

Download it now ! Category Icons Lite

Beta versionsNew beta version !

[download id="3"]

Changelog :

  • 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');