dede:tag标签里调用每个标签包含有几个所属文档数,例如我的:https://www.dede58.com/tags.html
实现教程:打开 /include/taglib/tag.lib.php 找到$row['highlight'] = 0;在它下面加入$count = $dsql->GetOne("SELECT COUNT(tid) FROM `dede_taglist` WHERE tag = '".$row['tag']."'");$row['count'] = $count['count(tid)'];
前台标签调用写法:{dede:tag row='500' sort='new' getall='0'}<li><a href="[field:link/]" title="[field:tag /]">[field:tag /]</a><span>([field:total /])</span></li>{/dede:tag}文档数:[field:total /]