Screenshots
February 3, 2008 by submarine
You can have one icon in front of your post title thanks to the get_cat_icon() function (click on the image to view live example of these screenshots taken from The World of Office Tips, Tricks and Tutorials) :
Or more icons :
You can see that there are 2 icons here ;it’s because the post belongs to 2 categories
Here is another example from the Medium is Not Enough TV blog :
You can even use CSS to customize the display of your icons with the ‘class’ parameter of get_cat_icon(). Here is an example with icons on the right :
In the sidebar, you can display icons on the left or on the right of the category names, or you can display only icons, thanks to the put_cat_icons() function or the widget (that you must activate) :
Here is another sidebar :
Screenshots of the plugin panel :
The Plugin’s Options
The plugin management page
Select an icon to assign it to a category
The Template Code in Action :
it shows you where to paste the function get_cat_icon() and put_cat_icons()
in your theme files or patch them automatically if possible.
Use the widget to display category icons in the sidebar