獲取上一篇、下一篇文章的標簽分別為
{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個漢字。