Template Tags/comment text
Материал из WordPress Wiki
Содержание |
Description
Displays the text of a comment. This tag must be within The Loop, or a comment loop.
Usage
%%% <?php comment_text(); ?> %%%
Example
Displays the comment text with the comment author in a list (<li>) tag.
<li>Comment by <?php comment_author(); ?>:<br /> <?php comment_text(); ?></li>
Parameters
This tag has no parameters.