View Categories

Change the Format of Terms for Current Post

The “Terms for Current Post” feature in Taxonomies shows all the terms for the post you’re viewing. You can see an example in the screenshot below: This format is controlled by a setting in Taxonomies > Terms for Current Post: Here is the code that Taxonomies provides by default: %tag_name% Here are the items you can see inside that code: %tag_link% – The URL of the tag %tag_name% – The name of the tag %tag_rel% – This provides rel tag markup (it creates rel=”tag”) Here are more items you can add to change the format: %tag_feed% – Replaced by the RSS tag link %tag_id% – Replaced by the tag ID %tag_description% – The description of the term %tag_name_attribute% – Replaced by the tag’s name, formatted for attribute HTML You can also add HTML elements to this formatting. For example, this image below shows the HTML required to make a list with strong text: The settings you saw in the image above will produce the following output: