Textpattern CMS Template Tags

<txp:link_description /> single tag, 5 attributes

link_description

The link_description tag is a single tag which is used to return the text from the Description field as defined under the “links” tab. This tag is used in a “link” form or inside a linklist container tag to display information abouth the current link.

attributes

label="unset" 
  • Label for the top of the list.
labeltag="unset" 
  • (X)HTML tag (without brackets) to wrap around label.
escape="html" 
  • Escape HTML entities in description text.
  • Value: html or unset.
wraptag="unset" 
  • (X)HTML tag (without brackets) to wrap around description.
class="unset" 
  • CSS class attribute for description text.

genealogy

Version 4.0.7

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

Display a link and its description field contents

<p><txp:link /><br /><txp:link_description /></p> 

Other tags used: link