Comment permlink

On this page:



The comment_permlink tag is a container tag which is used to return the permanent link of the article comment being displayed. The container tag wraps the text assigned to the link. Should be used in Textpattern ‘comment’ type Form templates.


Tag will accept the following attributes (case-sensitive):

Whether to apply the comment’s ID number to the hyperlink tag (as the id attribute), setting this comment permanent link as the comment page anchor.
Values: 0 (no) or 1 (yes).
Default: 0.


Example 1: Comments display form

<txp:comment_message />
    <txp:comment_name />
    <txp:comment_time />
        <txp:comment_id />

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

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