How to use Category Icons with Recent Posts

Since v2.1, you can display the category icons with Rob Marsh‘s Recent Posts plugin. Here is how. In Recent Posts, go to Output, enter {caticons} in the field, and click on Save Output Settings :

Rob Marsh's Recent Posts plugin

Rob Marsh's Recent Posts plugin

If you use the widget, it’ll be displayed like this in the default WordPress theme :

Category Icons with Recent Posts

Category Icons with Recent Posts

If you want to make the icons align vertically, use CSS. So instead of :

<li>{caticons} {link} by {author}</li>

try this :

<li class="myicons">{caticons} {link} by {author}</li>

with this lines in style.css :

.myicons img {
  vertical-align:middle;
}

You’ll have something like this :

Category Icons with Recent Posts - Align vertically

Category Icons with Recent Posts - vertical alignment