WordPressのアーカイブページのタグテンプレート(tag.php)を作成し、タグスラッグ(tag slug)を取得する方法(覚書)
関数:get_queried_object()を使う

[html]if ( is_tag() ) {
$tag = get_queried_object();
$tag_title = $tag->name; // Same as single_tag_title()
$tag_slug = $tag->slug;
$tag_id = $tag->term_id;
}[/html]