Go to main content

Comment permlink




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) as well as the global attributes :

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.

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