Template Tags/comment date

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

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

Содержание

Description

Displays the date a comment was posted. This tag must be within The Loop, or a comment loop.

Usage

%%% <?php comment_date('d'); ?> %%%

Example

Displays the comment date in the format "6-30-2004":

Comment posted on <?php comment_date('n-j-Y'); ?>

Parameters

(string) Formatting for the date. Defaults to the date format set in WordPress. See Formatting Date and Time.

Related

Шаблон:Tag Comments Tags

Шаблон:Tag Footer

Реклама

Сегодня дома с интересом посмотрели отличный фильм, качаем отсюда быстро
Схемы измерительных приборов, продажа и внедрение систем на производстве.