ssycms模板开发之模板详情模板页

以下列出常用详情模板页面调用标签代码 你也可以将本篇内容复制到详情模板页中查看 template\defaul […]

以下列出常用详情模板页面调用标签代码

你也可以将本篇内容复制到详情模板页中查看 template\default\html\article\articleDetail.html

常用文章信息调用标签(仅在详情页面起作用)

文章标题:{$itemInfo[‘title’]}

文章地址:{$itemInfo[‘url’]}

文章关键词:{$itemInfo[‘keywords’]}

文章描述:{$itemInfo[‘description’]}

文章浏览数:{$itemInfo[‘views’]}

文章发布时间(年月日时分秒):{$itemInfo[‘publish_time’]|date=’Y-m-d H:i:s’,###}

文章发布时间(年月日):{$itemInfo[‘publish_time’]|date=’Y-m-d’,###}

文章内容:{$itemInfo[‘content’]}

文章内容(mip格式):{$itemInfo[‘mipContent’]}

常用文章分类信息调用标签(仅在详情页面起作用)

文章分类标题:{$itemInfo[‘categoryInfo’][‘title’]}

文章分类地址:{$itemInfo[‘categoryInfo’][‘url’]}

文章分类别名:{$itemInfo[‘categoryInfo’][‘url_name’]}

文章分类关键词:{$itemInfo[‘categoryInfo’][‘keywords’]}

文章分类描述:{$itemInfo[‘categoryInfo’][‘description’]}

文章分类自定义标题:{$itemInfo[‘categoryInfo’][‘seo_title’]}

常用调用分类上层一级分类标签(仅在当前文章处于二级栏目下生效)

文章一级分类标题:{$itemInfo[‘categoryInfo’][‘parent‘][‘title’]}

文章分类地址:{$itemInfo[‘categoryInfo’][‘parent‘][‘url’]}

文章分类别名:{$itemInfo[‘categoryInfo’][‘parent‘][‘url_name’]}

文章分类关键词:{$itemInfo[‘categoryInfo’][‘parent‘][‘keywords’]}

文章分类描述:{$itemInfo[‘categoryInfo’][‘parent‘][‘description’]}

文章分类自定义标题:{$itemInfo[‘categoryInfo’][‘parent‘][‘seo_title’]}

版权声明
文章标题:ssycms模板开发之模板详情模板页
文章链接:https://blog.chiyuba.com/qianduanjishu/319.html
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布,转载或引用请注明出处。
温馨提示:本文最后更新于 2022年4月9日,部分内容可能存在时效性,请注意甄别。

相关推荐

更多教程
wordpress主题制作之《主题文件层次结构简介》 UI相关 wordpress主题制作之《主题文件层次结构简介》

 前言 上文介绍到如何制作一个简单的主题...

1 浏览
github开源项目:独角数卡(PHP自动化售货发卡网源码) UI相关 github开源项目:独角数卡(PHP自动化售货发卡网源码)

独角数卡 开源式站长自动化售货解决方案、...

3 浏览
npm config set -g msvs_version 2019 报错解决 前端技术 npm config set -g msvs_version 2019 报错解决

  简介:前言今天安装open...

2 浏览

评论