Skip to main content
 Web开发网 » 站长学院 » 织梦教程

DEDECMS织梦内容页调用seotitle标题的写法

2020年09月12日6650百度已收录

需要修改下include/arc.archives.class.php 这个文件,找到:

 

$this->Fields['typename'] = $this->TypeLink->TypeInfos['typename'];

 

在这段的下面添加:

 

$this->Fields['seotitle'] = $this->TypeLink->TypeInfos['seotitle'];

 

 

调用方法,直接在内容页中写:{dede:field.seotitle/}

 


 

评论列表暂无评论
发表评论
微信