Go to main content

Comment email

Contents

Syntax

<txp:comment_email />

The comment_email tag is a single tag which is used to display the commenter’s email address, if entered at the time of posting. Should be used in Textpattern ‘comment’ type Form templates.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

Example 1: Comments display form with linked email and comment id

<txp:comment_message />
<p>
    <a href="mailto:<txp:comment_email />">Email</a> |
    <txp:comment_permlink>
        <txp:comment_id />
    </txp:comment_permlink>
</p>

Other tags used: comment_id, comment_message, comment_permlink.

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