| 1 | <{* **************************  usage **************************** | 
|---|
| 2 | The template tag of the following list can be used. | 
|---|
| 3 | <{$block.err_message}>                                  // When the block cannot be displayed, this outputs the reason. Please do not delete it. | 
|---|
| 4 | <{$block.data_count}>                                   // The number of contents is displayed. | 
|---|
| 5 | <{$block.contents}>                                             // Data array of contents. | 
|---|
| 6 | // Examples of <{$block.contents}> | 
|---|
| 7 | <{foreach from=$block.contents item=content}>   // Loop | 
|---|
| 8 | <{$content.from_auther_to_post}>                // It is displayed by "Author of the comment on the post" format. Each link is included in it. | 
|---|
| 9 | <{$content.comment_ID}>                                 // Displays the numeric ID of a comment. | 
|---|
| 10 | <{$content.comment_post_ID}>                    // Displays the numeric ID of the target post for the comment is displayed. | 
|---|
| 11 | <{$content.comment_date}>                               // Displays the published date of a comment. Format at date set by general setting of Wordpress. | 
|---|
| 12 | <{$content.comment_date_time}>                  // Displays the published date-time of a comment. Format at date-time set by general setting of Wordpress. | 
|---|
| 13 | <{$content.comment_content}>                    // Displays the contents of a comment. | 
|---|
| 14 | <{$content.comment_excerpt}>                    // Displays the excerpt contents of a comment. | 
|---|
| 15 | <{$content.comment_link}>                               // Displays the comment link. | 
|---|
| 16 | <{$content.comment_title}>                              // Displays the title of a comment. | 
|---|
| 17 | <{$content.comment_title_link}>                 // Displays the comment link, where the link text value is the comment's title name. | 
|---|
| 18 | <{$content.post_link}>                                  // Displays a link to the post a comment belongs to. | 
|---|
| 19 | <{$content.post_title}>                                 // Displays a title to the post a comment belongs to. | 
|---|
| 20 | <{$content.post_title_link}>                    // Displays the post's permalink, where the link text value is the posts title name. | 
|---|
| 21 | <{$content.author_link}>                                // Displays the link of comment author's web homepages. | 
|---|
| 22 | <{$content.author_name}>                                // Displays the comment author's name. | 
|---|
| 23 | <{$content.author_name_link}>                   // Displays the link of comment author's web homepages, where the link text value is the author's name. | 
|---|
| 24 | <{$content.comment_type}>                               // Displays the comment type. (type is comment,truckback or pingback) | 
|---|
| 25 | <{$content.blog_link}>                                  // Displays a permalink to the blog a comment belongs to. | 
|---|
| 26 | <{$content.blog_title}>                                 // Displays a title to the blog a comment belongs to. | 
|---|
| 27 | <{$content.blog_title_link}>                    // Displays the blog's permalink, where the link text value is the posts title name. | 
|---|
| 28 | <{/foreach}>                                                    // End of Loop | 
|---|
| 29 | ************************* End of usage ************************ *}> | 
|---|
| 30 | <{* Start Template *}> | 
|---|
| 31 |  | 
|---|
| 32 | <div class="xpress_block"> | 
|---|
| 33 | <{$block.err_message}> | 
|---|
| 34 | <div class="xpress_recent_comments_block"> | 
|---|
| 35 | <ul> | 
|---|
| 36 | <{foreach from=$block.contents item=content}> | 
|---|
| 37 | <li> | 
|---|
| 38 | <{$content.from_auther_to_post}><br /> | 
|---|
| 39 | <{$content.comment_date_time}> | 
|---|
| 40 | </li> | 
|---|
| 41 | <{/foreach}> | 
|---|
| 42 | </ul> | 
|---|
| 43 | </div> | 
|---|
| 44 | </div> | 
|---|