Template Tags/the date xml
Материал из WordPress Wiki
Содержание |
Description
Displays the date of the post in YYYY-MM-DD format (ex: 2004-09-24). This tag must be used within The Loop.
Usage
%%% <?php the_date_xml(); ?> %%%
Example
<p>Date posted: <?php the_date_xml(); ?></p>
Date posted: 2005-05-14
Parameters
This tag does not accept any parameters.