<txp:file_download_category /> single tag, 3 attributes


The file_download_category tag is a single tag that Textpattern will replace with the category of the file to download. Should be used in a download form.


title="0" (boolean) 
  • Whether to display the category name or its title
  • Values: 0 (name), or 1 (title).
  • HTML tag to be used to wrap the category with, specified without brackets.
  • CSS class attribute to apply to the category wraptag.
<txp:file_download_category /> 1 examples

Display a category name following “category:”

<txp:text item="category" />: <txp:file_download_category />

Other tags used: text