<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms网站如何修改上一篇下一篇的标题字数

时间:2020-12-15

一般情况下,如果你的上一篇和下一篇是2行布局就不需要限制标题的字数了,如果你要一行布局上一篇和下一篇标题过长就会打乱网页布局,那么限制上一篇和下一篇的标题字数是需要的,避免页面看起来杂乱不堪。

 

    dedecms网站如何修改上一篇下一篇的标题字数方法如下

 

    编辑打开include/arc.archives.class.php文件

 

    查找:$this->PreNext['pre'] = "上一篇:{$preRow['title']} ";

 

    在这一行上面加上以下代码

 

    $preRow['title']=cn_substr($preRow['title'],30);//最多显示15个汉字

 

    查找:$this->PreNext['next'] = "下一篇:{$nextRow['title']} ";

 

    在这一行上面加上以下代码

 

    $nextRow['title']=cn_substr($nextRow['title'],30);//最多显示15个汉字

 

    然后再重新生成所有页面即可以了。

    0
    首页
    案例
    关于
    联系