in addition to avoid having Blog name.com >> >> category name (instead of Blog name.com >> category name) I changed the code to:
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » <?php } ?>
<?php if ( is_single() ) {
$post = $wp_query->post;
$categories = get_the_category($post->ID);
foreach($categories as $category) {
$cat_title = $categories[0]->cat_name;
}
} ?>
<?php echo $cat_title; ?>
<?php wp_title(); ?></title>
works like a charm!
Thanks Kafkaesqui for pointing me in the right direction! 🙂