記事一覧にタグを全て表示する
<?php
$tags = get_the_tags();
if($tags){
foreach($tags as $tag){ ?>
<a><?php echo $tag->name; ?></a>
<?php
}
}
?>
カテゴリー表示
<?php if ( has_category() ) { echo get_the_category_list(''); } ?>
タグ表示
<?php the_tags('', ',', ''); ?>