category1
The category1 tag can be used as either a single tag or container tag. It will display information of the category as defined by Cat1 of the article being displayed. When used as a containing tag, it will turn the contents into a link to that category. Otherwise, it will return plain text.
This tag may be used within either an article form, or in a page, wrapped in an if_individual_article conditional tag.
Related: if_article_category
attributes
title="0" (boolean)
link="0" (boolean)
section="unset"
this_section="0" (boolean)
class="unset"
wraptag="unset"
genealogy
Version 4.0.4
Category name in plain text
<txp:category1 />
Hyperlinked category title
<txp:category1 link="1" title="1" />
If category1 is “General”, this tag will display the word “General” as a hyperlink to a list of articles in the same category.
Container example
<txp:category1>
Other articles in category <txp:category1 title="1" />
</txp:category1>