Textpattern CMS Template Tags

<txp:comments_preview /> single tag, 3 attributes

comments_preview

The comments_preview tag is a single tag which is used to display a preview of a visitor’s comment.

Related: if_comments_preview

attributes

form="comments" 
  • The form to use to display the comments preview.
wraptag="tag" 
  • (X)HTML tag (without brackets) to wrap around the list.
  • Default depends upon preference setting: Present comments as a numbered list?
class="comments_preview" 
  • CSS class name to be applied to wraptag.

genealogy

Version 4.0.4

  • Use is necessary in comments display form (comments_display, by default).

Version 4.0.3

  • Support added.
<txp:comments_preview /> 0 examples