WordPress:Template Tags/comment text

来自站长百科
Fludlen讨论 | 贡献2008年7月1日 (二) 17:27的版本
跳转至: 导航、​ 搜索

Description

描述

Displays the text of a comment. This tag must be within WordPress:The Loop, or a comment loop.

显示评论的文本。标签必须在The Loop或者一个评论loop内使用。

Usage

%%% <?php comment_text(); ?> %%%

用法

%%% <?php comment_text(); ?> %%%

Example

例子

Displays the comment text with the comment author in a list (<li>) tag.

显示评论文本,评论作者在一个列表(<li>)标签上。

<li>Comment by <?php comment_author(); ?>:<br /> 
<?php comment_text(); ?></li>

<li>Comment by <?php comment_author(); ?>:<br />

<?php comment_text(); ?></li>

Parameters

参数

This tag has no parameters. 这个标签没有参数。

Related

模板:Tag Comments Tags

模板:No Param Tag Footer

相关的

模板:标签评论标签