WordPress:Template Tags/the date xml
来自站长百科
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.
参数
这个标签不接受任何参数。