Comment id

On this page:

Syntax

<txp:comment_id />

The comment_id tag is a single tag which is used to display the comment’s internal id as assigned by Textpattern at the time of posting. Used in a comments display form.

Attributes

This tag has no attributes.

Examples

Example 1: Comments display form with linked comment id

<txp:comment_message />
<p>
    By <txp:comment_name /> at <txp:comment_time />
    <txp:comment_permlink>
        <txp:comment_id />
    </txp:comment_permlink>
</p>

<txp:comment_message />

Other tags used: comment_message, comment_name, comment_permlink, comment_time.

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.