how do I get the tag name from tag id?

Use get_tag.

$tag = get_tag(2); // <-- your tag ID
echo $tag->name;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)