wordpress post_tag code example
Example: wordpress link post tags
$posttags = get_the_tags();
if ($posttags) {
foreach($posttags as $tag) {
echo '<a href="' . get_tag_link($tag->term_id) . '">' . $tag->name . '</a>';
}
}
$posttags = get_the_tags();
if ($posttags) {
foreach($posttags as $tag) {
echo '<a href="' . get_tag_link($tag->term_id) . '">' . $tag->name . '</a>';
}
}