<code id='1551319503'></code><style id='1551319503'></style>
    • <acronym id='1551319503'></acronym>
      <center id='1551319503'><center id='1551319503'><tfoot id='1551319503'></tfoot></center><abbr id='1551319503'><dir id='1551319503'><tfoot id='1551319503'></tfoot><noframes id='1551319503'>

    • <optgroup id='1551319503'><strike id='1551319503'><sup id='1551319503'></sup></strike><code id='1551319503'></code></optgroup>
        1. <b id='1551319503'><label id='1551319503'><select id='1551319503'><dt id='1551319503'><span id='1551319503'></span></dt></select></label></b><u id='1551319503'></u>
          <i id='1551319503'><strike id='1551319503'><tt id='1551319503'><pre id='1551319503'></pre></tt></strike></i>

          欢迎来到心如古井网

          心如古井网

          dedecms极速庄闲游戏app赛车官网文章栏目列表页标题增加序号

          时间:2025-06-20 23:57:11 阅读(143)

          去前台看看它的效果(如下图),一个栏目的所有分页都一样,它的是链接变了(.../list_2_2.htm),在代码开头的<title>看到默认栏目标题标签为{dede:field.title/} - {dede:global.cfg_webname/}是没有分页的,一般默认。

          在dedecms后台找到模板-默认模板管理-默认文章列表模板(list_article.htm)打开。那么如何为dedecms文章列表页标题增加序号,第二页开始显示“栏目名 - 第几页 - 网站名”。细心庄闲游戏approng>极速赛车官网的你会发现,重复的页面太多的话,但栏目列表标题没有显示“栏目列表标题 _ 第几页 _ 网站名称。文章栏目列表标题页是没有序号的,即是你点击下一页时,如下图所示:

          dedecms文章栏目列表页标题增加序号-图片2

          修改完后,不美观对搜索引擎也很不友好。

          dedecms文章栏目列表页标题增加序号-图片3

          如下图所示:

          dedecms文章栏目列表页标题增加序号-图片1

          将dedecms默认的标签改为:<title>{dede:field.title/}{dede:pagelist listitem="pageno"listsize="0" function="html2text(@me)" runphp="yes"}if (strlen(@me)>10 || @me==1)@me="";else @me=" _ 第".str_replace(' ','',@me)."页";{/dede:pagelist} _ {dede:global.cfg_webname/}</title> 即可。

          在使用dedecms时,就是这么简单。点击保存,最后生成一更新下。

          分享到:

          温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

          友情链接: