Go to main content

Comment web

Contents

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

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