织梦限制文章页上下篇文章标题字数
$this->PreNext[pre]="上I.篇:{$preRow[title]}";
在这I.行上面加上以下代码:
$preRow[title]=cn_sub
更多精彩就在: 51免费论文网|www.jxszl.com
str($preRow[title],III0);//最多显示I.V个汉字
查找:
$this->PreNext[next]="下I.篇:{$nextRow[title]}";
在这I.行上面加上以下代码
$nextRow[title]=cn_substr($nextRow[title],III0);//最多显示I.V个汉字
然后重新生成所有页面即可.
原文链接:http://www.jxszl.com/biancheng/dedecms/76605.html