Template Tags/comment excerpt
Материал из WordPress Wiki
Содержание |
Description
Displays an excerpt (maximum of 20 words) of a comment's text. This tag must be within The Loop, or a comment loop. This tag will work within a comment loop.
Usage
%%% <?php comment_excerpt(); ?> %%%
Example
<p>Latest comment: <?php comment_excerpt(); ?></p>
Parameters
This tag has no parameters.