聯系官方銷售客服
1835022288
028-61286886
多級欄目循環咋調用二級欄目的SEO描述呢??
我寫的方法調用不出來
{category module=share pid=10 return=c1} {category module=share pid=$c1.id return=c2} <div class="col-3 col-xxl-3 col-xl-3 col-lg-4 col-md-4 item"> <div class="picimg"> <a href="{$c2.url}"> <img src="{dr_get_file($c2['thumb'])}" alt="{$c2.name}"> </a> </div> <div class="info"> <div class="title">{$c2.name}</div> <p>{$c2['setting']['seo']['list_description']}</p> </div> </div> {/category} {/category}
后臺已經給了SEO內容 單就是沒出來
這樣的代碼肯定出不來呀,肯定出不來呢。
選項是是否顯示欄目的參數,配置參數那個開啟。
這里填寫參數就可以生成相關的代碼,每個參數后面都有用法解釋,category標簽的生成工具:http://www.zbshanke.com/doc/code/category.html
回復@迅睿框架聯合創始人 我子欄目加了more=1 參數 也沒出來啊
回復@不脫單不改網名
這樣調用seo描述,你直接復制就好 復制到你那看看效果