迅睿CMS框架是一款PHP8高性能·简单易用的CMS开源开发框架,基于MIT开源许可协议发布,免费且不限制商业使用,是免费开源的产品,以万端互联为设计理念,支持的微信公众号、小程序、APP客户端、移动端网站、PC网站等多终端式管理系统。
联系官方销售客服
1835022288
028-61286886
请问关键词tag页面怎么统计所有模块的发文数量?
插件教程:https://www.xunruicms.com/doc/app-364.html
{count action=module module=all}
{if $tag.id} <div class="ht_title"> <h1> # {$tag.name} # </h1> </div> <div class="ht_content"> {$tag.content} </div> <span>阅读 {$tag.hits}</span> <span>文章 {count action=related module=all tag=$tag.tags}</span> {/if}
{count action=related module=all tag=$tag.tags field=title}