織夢TAG標簽顯示標簽包含文檔數量織夢技巧
導讀:織夢技巧織夢技巧dede:tag標簽里調用每個標簽包含有幾個所屬文檔數,例如我的 https://www.dedesos.com/tags.html 實現教程 打開 /incl百度seo網站優化企業網站建設。
dede:tag標簽里調用每個標簽包含有幾個所屬文檔數,例如我的 http://www.bifwcx.com/tags.html 實現教程 打開 /include/taglib/tag.lib.php 找到 $ row[ highlight ] = 0; 在它下面加入 $ count = $dsql -G網站seo優化培訓etOne( SELECT COUNT( […]
dede:tag標簽里調用每個標簽包含有幾個所屬文檔數,例如我的
https:公司網站建設//www.bifwcx.com/tags.html
實現教程
打開 /include/taglib/tag.lib.php 找到
$row['highlight'] = 0;在它下面加入
$count = $dsql->GetOne("SELECT COUNT(tid) FROM `dede_taglist` WHERE tag = '".$row['tag']."'&quoseo網站優化t;); $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 /]
相關百度seo網站優化企業網站建設。聲明: 本文由我的SEOUC技術文章主頁發布于:2023-05-25 ,文章織夢TAG標簽顯示標簽包含文檔數量織夢技巧主要講述標簽,數量,織夢網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_7978.html