WordPress:Template Tags/the date xml

来自站长百科
Fludlen讨论 | 贡献2008年7月11日 (五) 16:59的版本
跳转至: 导航、​ 搜索

Description

描述

Displays the date of the post in YYYY-MM-DD format (ex: 2004-09-24). This tag must be used within WordPress:The Loop.

YYYY-MM-DD格式显示文章的日期(例如:2004-09-24)。必须在The Loop内使用这个标签。

Usage

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

用法

%%% <?php the_日期_xml(); ?> %%%

Example

<p>Date posted: <?php the_date_xml(); ?></p>
Date posted: 2005-05-14

例子

<p>发表的日期: <?php the_日期_xml(); ?></p>
发表的日期: 2005-05-14

Parameters

This tag does not accept any parameters.

参数

这个标签不接受任何参数。

Related

模板:Tag Date Tags

模板:No Param Tag Footer

相关的

模板:标签 日期 标签