WordPress:Template Tags/comment text
来自站长百科
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. 这个标签没有参数。