Go to main content

Comment id

Contents

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

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. :)