演示链接:查看演示

DEDECMSdedecms内容页调用seotitle标题的写法

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

 

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

 

在这段的下面添加:

 

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

 

 

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

 

 

THE END
喜欢就支持一下吧
点赞0 分享