<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 Tag列表按发布时间排序的方法

时间:2020-12-16

搜索引擎对TAG十分重视,网站tag页面被收录,也能带来流量,解决织梦DedeCms TAG列表按最新发布时间排序,可以有效把最新的TAG提供给用户和搜索引擎。

修改方法:

打开/include目录下找到arc.taglist.class.php文件,查找代码:

$this->dsql->SetQuery("Select aid From `dede_taglist` where tid =
'{$this->TagInfos['id']}' And arcrank>-1 limit $limitstart,$getrow");

修改为:

$this->dsql->SetQuery("Select aid From `dede_taglist` where tid =  
'{$this->TagInfos['id']}' And arcrank>-1 order by aid desc limit $limitstart,$getrow "); 
 
这样就ok了。

注:早些版本的dede_taglist是dede_taglist。修改之后,Tag列表排列顺序就会以文章最新发布时间排列了。

0
首页
案例
关于
联系