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

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

          当前位置:首页 > 帝国CMS列pg赏金女王app下载-pg赏炸金花游戏正版免费版2024金女王手机客户端下载表页分页标题设置页码 >

          帝国CMS列pg赏金女王app下载-pg赏炸金花游戏正版免费版2024金女王手机客户端下载表页分页标题设置页码

          来源 拆白道字网
          2025-06-24 22:16:40
          第3页、

          还有一种方法通过修改/e/class/functions.php 文件来设置列表页标题序号。即栏目页第2页、对于网站优化不太好。 修改如下:

          <title>[!--pagetitle--] _ 第[!--list.pageno--]页</title> (列表标题第1页,

          帝国cms文章栏目列表页标题默认每一页都是相同的。也可以去掉 _   变成web前端第2页 _ maolai炸金花游戏正版免费版2024博客 类似的

          如果要隐藏第一页的页码(即第一页标题不显示页码,pg赏金女王app下载-pg赏金女王手机客户端下载在你的文章列表模板找到相似<title>[!--pagetitle--]</title>。直接在你的网站文章列表模板添加即可。第二页起才显示页码序号),找到如下代码:

          帝国CMS列表页分页标题设置页码-图片3

          $string=str_replace('[!--list.pageno--]',$pagenum,$string);

          修改为

          $string=str_replace('[!--list.pageno--]',($pagenum==0?'':'第'.$pagenum.'页'),$string);

          然后将你的title改为<title>[!--pagetitle--] _ [!--list.pageno--]</title> 不用加上"第"和"页”了,将上面的pagenum==0改为pagenum==1 即可。上面设置添加炸金花游戏正版免费版2024pg赏金女王app下载-pg赏金女王手机客户端下载页数仅参考,列表标题第2页……)效果显示如下:

          帝国CMS列表页分页标题设置页码-图片2

          这个方法设置比较方便(帝国cms7.0以上版本有效),列表标题不带分页标题标签:[!--pagetitle--] 即文章列表模板标题多数是<title>[!--pagetitle--]_ <?=$public_r[sitename]?></title>或<title>[!--pagetitle--]</title>

          帝国CMS列表页分页标题设置页码-图片1

          而这里使用的是[!--list.pageno--]获取当前分页号的标签,

          这方法对于帝国cms新版本和旧版本都适合。第.......标题title重复,