<txp:link_category /> single tag, 5 attributes

link_category

The link_category tag is a single tag which returns the link category as text. This tag is used in a “link” form or inside the linklist container tag to return information about the current link in a linklist.

attributes

label="unset" 
  • Label for the top of the list.
labeltag="unset" 
  • (X)HTML tag to wrap the label at the top of the list.
wraptag="unset" 
  • (X)HTML tag to be used to wrap the category, without brackets.
class="unset" 
  • CSS class to apply to the wraptag
title="0" (integer)
  • Display link category name or its title.
  • Values: 0 (category name) or 1 (category title).
<txp:link_category /> 1 examples

Display a link with class attribute

<a class="thislink" href="<txp:link_url />">
<txp:link_name escape="html" />
</a> : <txp:link_category title="1" />

Other tags used: link_url, link_name