ID);
if ( $categories ) {
$cat_id = $categories[0]->cat_ID;
//then i get the data from the database
$cat_data = get_option("taxonomy_$cat_id");
//and then i just display my category image if it exists
if (isset($cat_data['cat_color'])){
echo ' style="background-color: '. $cat_data['cat_color'] .'"';
}
}?>>