• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Template Tags for Comments

Template Tags for Comments

The tags described below are used for displaying a post's comments.

tagdescription
<BlogItemCommentsEnabled>...</BlogItemCommentsEnabled>a conditional tag whose contents are only displayed if a post allows comments (see page 79); should be used to enclose all comment tags
<$BlogItemCommentCount$>generates the number of comments that a post currently has
<BlogItemComments>...</BlogItemComments>generates the code contained within its tags for each of a post's comments; you may want to enclose this section within <ItemPage> tags (see previous page) so that the comments only appear on post pages, and not on the main page or on archive pages
<$BlogCommentNumber$>generates the unique identifier for a comment; analogous to the <$BlogItemNumber$> tag
<$BlogCommentBody$>generates the body of the comment
<$BlogCommentPermalinkURL$>outputs the URL of an individual comment's permalink
<$BlogCommentAuthor$>outputs the contents of the Display Name field of the profile of the blogger who wrote the comment; includes a link to that blogger's profile, if available
<$BlogCommentDateTime$>outputs the date and/or time the comment was posted; depends on the TimestampFormat field on the Settings | Formatting page
<$BlogCommentDeleteIcon$>creates an icon for deleting the comment; only appears if the person viewing the comment is the comment's author or the blog's owner
<$BlogItemCreate$>creates a link so that the visitor can post a comment



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint