Go to main content

Comment anchor

Contents

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 of its own. It accepts only the global 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.

If you notice any kind of problem with this page’s construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)