Comment web

On this page:

Syntax

<txp:comment_web>

The comment_web tag can be used as either a single or a container tag. Thus it may be used as an opening and closing pair:

<txp:comment_web>
    ...containing statements...
</txp:comment_web>

It is used to display (a link to) the commenter’s web address, if entered at the time of posting. When used as a container tag, it will turn the contents into a link to that web address. Otherwise, it will return the web address. Should be used in Textpattern ‘comment’ type Form templates.

Attributes

This tag has no attributes.

Examples

<txp:comment_message />
<p>
    By <txp:comment_name /> at <txp:comment_time />,
    <a href="<txp:comment_web />">Visit their website</a>
</p>

Other tags used: comment_message, comment_name, comment_time.

Example 2: Container example

<txp:comment_web>Website</txp:comment_web>

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.