获取上一篇、下一篇文章的标签分别为
{dede:prenext get='pre'/}
{dede:prenext get='next'}
设置上一篇、下一篇文章标题字数的方法:
打开/include/arc.archives.class.php文件
找到
$this->PreNext['pre']="上一篇:{$preRow['title']}";
在它上面加上加入
$preRow['title']=cn_substr($preRow['title'],30); 
再找到
$this->PreNext['next']="下一篇:{$nextRow['title']}"; 
在它上面加上加入
$nextRow['title']=cn_substr($nextRow['title'],30); 
30的意思就是30个字节,也就是15个汉字。