catColor

This plugin allows to add different colors and background-images to the categories of your favorite WordPress-Blog

You can download this plugin here.

Well, OK. You have to do something for getting the effect.

First: define a new function in your favourite theme, that adds a class to the tag, that includes the category. A samle could be the following:

function the_category_header()
{
    $categories = (array)get_the_category();
    $thelist = '
    '; foreach($categories as $category){ $thelist .= '
  • '; $thelist .= $category->cat_name; $thelist .= '
  • '; } $thelist .= '
'; return $thelist; }

Second: Call this function to include the categories into your layout.

Enjoy.



 
 architectural daughtsman, brother, developer, father, husband, master of forestry sciences, scout


Leave a Reply

Your email address will not be published. Required fields are marked *