帝国CMS内容模板 如何调用内容发布时间?
方法1:标签调用
- [!--newstime--]
方法2:$navinfor变量
- $navinfor[newstime]
tips:在内容页输出$navinfor变量,需要结合php简写标签,如:
- <?=date('Y-m-d',$navinfor[newstime])?>T<?=date('H:i:s',$navinfor[newstime])?>
发布时间:2020-06-27 17:09:03:www.zcabc.com 作者: 墨 浏览:
帝国CMS内容模板 如何调用内容发布时间?
方法1:标签调用
- [!--newstime--]
方法2:$navinfor变量
- $navinfor[newstime]
tips:在内容页输出$navinfor变量,需要结合php简写标签,如:
- <?=date('Y-m-d',$navinfor[newstime])?>T<?=date('H:i:s',$navinfor[newstime])?>
版权所有 © 技术栈 2020 | 冀ICP备18004459号-5
技术栈为您提供更专业的服务!