category
The category tag can be used as either a single or containing tag. It will display information of the category as defined by the name attribute, or the one currently being viewed. When used as a containing tag, it will turn the contents into a link to the category. Otherwise, it will return plain text.
May be used in any context.
attributes
name="unset"
type="article"
title="0" (boolean)
link="0" (boolean)
section="current section"
this_section="0" (boolean)
class="unset"
wraptag="unset"
genealogy
Version 4.0.7
Version 4.0.4
Displays the current category name
<txp:category />
Display hyperlinked category title
<txp:category title="1" link="1" />
Display a specific category’s title, hyperlinked
<txp:category name="articles" title="1" link="1" wraptag="p" />
Container Example
<txp:category name="book">My books</txp:category>