本文適合老版本,1.3+新版本請(qǐng)直接使用tag功能更好
1、新增自定義字段,如:tag,類型選擇單行文本
2、添加產(chǎn)品內(nèi)容,并填寫tag字段內(nèi)容
3、前端模板調(diào)用
此處在內(nèi)容詳情頁使用,顯示tag填寫了“PB”的內(nèi)容列表:{pboot:pre}
{pboot:list scode={sort:scode} num=10 order=date filter=ext_tag|PB} {pboot:if({content:id}!=[list:id])} <!--使用判斷,本頁內(nèi)容不再顯示--> <p>[list:title]</p> {/if} {/pboot:list}
有關(guān)我們服務(wù)的更多信息,請(qǐng)聯(lián)系項(xiàng)目經(jīng)理
15899750475 楊先生