Codex

Function Reference/get tag link

Contents

Description

Returns the correct link url for a given Tag ID.

Usage

 <a href="<?php echo get_tag_link($tag_id); ?>">tag name</a>

Parameters

tag_id 
(numeric) The Tag ID.

Related

the_tags, get_the_tags, get_the_tag_list, single_tag_title, is_tag, get_tag_link, wp_tag_cloud, wp_generate_tag_cloud,

How to pass parameters to tags with PHP function-style parameters

Go to Template Tag index

This article is marked as in need of editing. You can help Codex by editing it.