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.

Related

Шаблон:Tag Comments Tags

Шаблон:No Param Tag Footer

Реклама

планшет с 3g
поднялась за рекой темная туча