ID); $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'] .'"'; } ?>>
$post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC' ) ); if ( !empty($postimgs) ) { $firstimg = array_shift( $postimgs ); $th_image = wp_get_attachment_image( $firstimg->ID, 'full', false ); ?>
>

→', 'surfarama' ) ); ?> '' ) ); ?>