您的当前位置:首页 > 知识博客 > wordpress建站

WordPress XML格式文章发表日期标签:the_date_xml

时间:2024-03-16

WordPress模板标签the_date_xml输出XML格式的文章发表日期,一般用得比较少。

the_date_xml()

该函数没有参数,直接调用即可。

函数使用示例

<p>Date posted: <?php the_date_xml(); ?></p>

扩展阅读

the_date_xml()函数位于:wp-includes/general-template.php

相关函数:

  • get_the_date()

  • get_the_time()

  • the_date()

  • the_modified_date()

  • get_the_modified_date()

  • the_modified_time()

  • get_the_modified_time()

  • the_time()


欢迎咨询/Welcome to inquire
tel/vx:18842938855
qq:1685522781
email:1685522781@qq.com

Copyright © 2019-2024 wangzhan.shop


Whatsapp
Powered by RRZCMS