Textpattern CMS Template Tags

<txp:link_name /> single tag, 1 attributes

link_name

The link_name tag is a single tag which returns the name of the link as assigned on the links pane as text. This tag is used in a Links form or inside the linklist container tag to display information about the current link.

attributes

escape="html" 
  • Escape HTML entities in link name text.
  • Values: html or unset.

genealogy

Version 4.0.7

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

Display a link with class attribute

<a class="thislink" href="<txp:link_url />"><txp:link_name escape="html" /></a> 

Other tags used: link_url