织梦教程:修改上一篇、下一篇文字字数的方法

织梦教程 强烈建议 2024-02-26 11:08 110 0

  文章介绍

  打开 /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);

本站资源均来自互联网或会员发布,如果不小心侵犯了您的权益请与我们联系。我们将立即删除!谢谢!