This is v1.1.1 beta. Speeder & lighter than the original Category Icons. You can download it from WordPress repo. You need WP 3.2, and you must install the KC Settings plugin if you want to have access to the settings panel.
You must have at least v1.0.4. Just copy and paste this code in your template file (index.php, loop.php, etc) :
<?php if (function_exists('get_cat_icon_lite')) echo get_cat_icon_lite();?>
You can also give it the category id. If you want to display the icon for the category id number 3, you’d do that :
<?php echo get_cat_icon_lite(3); ?>
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(); ?>
<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
That’s it !
Download it now ! Category Icons Lite