默認(rèn)的TAG標(biāo)簽調(diào)用Zui老的放在前面。修改代碼通過ID去排序,按新發(fā)布時(shí)間排序,把Zui的TAG提供給用戶和搜索引擎。
打開/include/arc.taglist.class.php文件新增代碼order by aid desc
找到
$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");
修改參考:
dede58 http://www.dede58.com/a/dedejq/8848.html
格展網(wǎng)絡(luò)https://www.91084.com/dedecms/az/1037.html
相關(guān)文章: