在dedecms文章列表中调用文章评论数,dedecms 官方没有现成的标签.
我们来使用php语法来扩展以下:
下面是简单的代码
[field:id runphp='yes']
global $dsql;
$row = $dsql->GetOne("select count(aid) as dd from dede_feedback where aid = '{@me}'");
@me = $row['dd'];
[/field:id]
希望这个dedecms评论代码对大家有帮助

![DedeCMS无法如何利用[field:arcurl/]无法获取文章路径的如何解决方法](https://cdnss.haodaima.top/uploadfile/2023/0103/20230103085635237.jpg)


