get_the_tag_list
TAG TAGS
What It Does
Gathers a list of all the tags the post is associated with, linking to each tag’s page. The tags that are gathered with get_the_tag_list are not actually displayed, but gathered for use in PHP. get_the_tag_list must be used within The Loop.
Code
Before
Allows you to specify what text to display before the list of tags. If no “before” text is specified, “Tags:” will be used.
Separator
Allows you to specify what to display in between each tag. If no “seperator” is specified, a comma will be used.
After
Allows you to specify what text to display after the tags are shown.
Example
The default usage of get_the_tag_list is as follows:
To manually specify “before”, “separator” and “after” text, you can use something like:
The above example will display something like:
This Post’s Tags: Finance, Stocks, Wall Street
Each of the tags will be linked to their specific tag page, displaying all posts filed under that tag.




