Textpattern CMS Template Tags

<txp:file_download_category /> single tag, 3 attributes

file_download_category

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.

attributes

title="0" (boolean) 
  • Whether to display the category name or its title
  • Values: 0 (name), or 1 (title).
wraptag="unset" 
  • HTML tag to be used to wrap the category with, specified without brackets.
class="unset" 
  • 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