Template Tags/comment author

Материал из WordPress Wiki

Перейти к: навигация, поиск

Содержание

Description

Displays the comment author name; that is, the one supplied by the commenter. If no name is provided (and "User must fill out name and email" is not enabled under Discussion Options), WordPress will assign "Anonymous" as comment author. This tag must be within The Loop, or a comment loop.

Usage

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

Example

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

Parameters

This tag has no parameters.

Related

Шаблон:Tag Comments Tags

Шаблон:No Param Tag Footer

Реклама

Рынки Сегодня
Guardian. Брендовые автостекла на иностранные авто в т.ч. на заказ