帝国CMS内容模板 如何调用内容发布时间

免费资源网,https://freexyz.cn/

帝国CMS内容模板 如何调用内容发布时间?

方法1:标签调用

  1. [!–newstime–]

方法2:$navinfor变量

  1. $navinfor[newstime]

tips:在内容页输出$navinfor变量,需要结合php简写标签,如:

  1. <?=date(‘Y-m-d’,$navinfor[newstime])?>T<?=date(‘H:i:s’,$navinfor[newstime])?>
免费资源网,https://freexyz.cn/