Search engines attach great importance to TAG. The inclusion of website tag pages can also bring traffic. Solving the problem of sorting the DedeCms TAG list by the latest release time can effectively provide the latest TAG to users and search engines.
Modification method:
Open the/include directory to find the arc.taglist.class.php file, and find the code:
$this->dsql->SetQuery("Select aid From `dede_taglist` where tid =
'{$this->TagInfos['id']}' And arcrank>-1 limit $limitstart,$getrow");
Revised as:
$this->dsql->SetQuery("Select aid From `dede_taglist` where tid =
'{$this->TagInfos['id']}' And arcrank>-1 order by aid desc limit $limitstart,$getrow ");
This is OK.
Note: The earlier version of dede_taglist is dede_taglist. After modification, the tag list will be arranged according to the latest release time of the article.
Statement: All articles on this site, unless otherwise specified or marked, are originally published on this site. No individual or organization is allowed to copy, embezzle, collect and publish the content of this website to any website, book and other media platforms without the consent of this website. If the content of this website infringes upon the legitimate rights and interests of the original author, please contact us for handling.