Comment anchor

On this page:

Syntax

<txp:comment_anchor />

The comment_anchor tag is a single tag which is used to produce an empty anchor tag with an id attribute reflecting the comment ID. Used in the form that renders your comments (the default form is named ‘comments’).

Attributes

This tag has no attributes.

Examples

Example 1: Generate current comment anchor

<txp:comment_anchor />
<txp:comment_message />

When the comment number is 000005 you will see:

<a id="c000005"></a>

Other tags used: comment_message.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.