tag posting tautan wordpress

$posttags = get_the_tags();
if ($posttags) {
  foreach($posttags as $tag) {
    echo '<a href="' . get_tag_link($tag->term_id) . '">' . $tag->name . '</a>';
  }
}
Average Ant