<txp:file_download_description /> single tag, 3 attributes

file_download_description

The file_download_description tag is a single tag which Textpattern will replace with the description of the file to download, as defined when the file was uploaded. Should be used in a download form.

attributes

escape="html" 
  • Escape HTML entities such as <, > and & for the file’s description attribute.
  • Values: html or unset
wraptag="unset" 
  • HTML tag to wrap description text with. Specify it without brackets.
class="unset" 
  • CSS class attribute to apply to the wraptag surrounding the description text.

genealogy

Version 4.0.7

  • default value for attribute escape changed from unset to html
<txp:file_download_description /> 1 examples

Display a file's description following “description:”

<txp:text item="description" />: <txp:file_download_description /> 

Other tags used: text