Pixelpost

Authentic Photoblog Flavour

TemplateTags /

<IMAGE_COMMENT_TEXT>

Tag Function:

  • Displays the text, "Comment" or "Comments".

Main Usage:

  • Used within image_template.html and comment_template.html to dynamically recall and load the text, "Comment" or "Comments".

Examples:

In your image or comment template, you can use the tag like this:

<IMAGE_COMMENTS_NUMBER> <IMAGE_COMMENT_TEXT>

Sample Output:

Using the code above will generate the following when the template is run:

15 Comments

Language Variable:

The output of this template tag is definable via your language file:

lang-english.php
$lang_comment_plural  = "Comments";
$lang_comment_single  = "Comment";

CommentRelatedTags
<< <IMAGE_COMMENTS_NUMBER> | TemplateTags | <LATEST_COMMENT_ID> >>


Page last modified on November 06, 2007, at 11:53 PM