Are breadcrumbs not working properly? I am using the following PHP code in the view's header to set the breadcrumbs of the view.

global $base_url;
$path = $base_url . "/tag/" . arg(1) . "/" . arg(2);
$title = ucfirst(str_replace("-", " ", arg(2)));
drupal_set_title($title);
$breadcrumb = array();
$breadcrumb[] = l('Home', '&lt;front&gt;');
$breadcrumb[] = l($title, $path);
drupal_set_breadcrumb($breadcrumb);
print views_embed_view('article_tag_name', 'default', array(arg(2)));


In my page, the breadcrumbs contain the term ID, not the term name. How do I get the term name?
Seems like your breadcrumb is working properly but you get the real path instead of the path alias. You can use drupal_get_path_alias.

$breadcrumb[] = l($title, drupal_get_path_alias('taxonomy/term/'. arg(2)));


Seems like you are setting title and breadcrumb in a .tpl file? Try to avoid that and put your logic in template.php.
Quick tip: views_embed_view can cause performance issues.