Textpattern CMS Template Tags

<txp:link_id /> single tag, 0 attributes

link_id

The link_id tag is a single tag which returns the numerical ID of the link. This tag is used in a Links form or inside the linklist container tag to show information about the current link in the list.

genealogy

Version 4.2.0

  • Added as a new tag
<txp:link_id /> 1 examples

Display link information

<txp:linklist category="dogs">
   Link: <a href="<txp:link_url />"><txp:link_name /></a>
     (id: <txp:link_id /> | cat: <txp:link_category />)
</txp:linklist>

Other tags used: linklist, link_name, link_category