迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發框架,基于MIT開源許可協議發布,免費且不限制商業使用,是免費開源的產品,以萬端互聯為設計理念,支持的微信公眾號、小程序、APP客戶端、移動端網站、PC網站等多終端式管理系統。
聯系官方銷售客服
1835022288
028-61286886
請問一下,{dede:type typeid='1'}{/dede:type} 對應訊睿的哪個標簽啊。直接獲取指定欄目內容
{dr_share_cat_value(1,'name')} 欄目名
{dr_share_cat_value(7,'url')} 欄目URL
。。。
具體查看標簽調用
{category module=share id=1}
{/category}
{dr_share_cat_value(1,'name')} id=1的欄目名稱 {dr_share_cat_value(1,'url')} id=1的欄目鏈接 或者 {category module=share id=1 num=1 cache=3600} {$t.name}欄目名稱 {$t.url}欄目鏈接 {/category}
欄目內容:{$t.content}
欄目內容去HTML代碼后截取800個字加...:{dr_strcut(dr_clearhtml($t.content), 800, '...')}
{dr_share_cat_value(1,'name')} 欄目名
{dr_share_cat_value(7,'url')} 欄目URL
。。。
具體查看標簽調用
{category module=share id=1}
{/category}
{category module=share id=1}
欄目內容:{$t.content}
欄目內容去HTML代碼后截取800個字加...:{dr_strcut(dr_clearhtml($t.content), 800, '...')}
{/category}