主頁 > 網(wǎng)站建設(shè) > 建站知識(shí) > 58種標(biāo)簽調(diào)用 DedeCMS 5.6 標(biāo)簽調(diào)用總匯

58種標(biāo)簽調(diào)用 DedeCMS 5.6 標(biāo)簽調(diào)用總匯

POST TIME:2020-04-04 13:33

1.關(guān)鍵描述調(diào)用標(biāo)簽:

<meta name="keywords" content="{dede:field name='keywords'/}">
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}">

2.模板路徑調(diào)用標(biāo)簽:

{dede:field name='templeturl'/}

3.網(wǎng)站標(biāo)題調(diào)用標(biāo)簽:

dede:global name='cfg_webname'/}

4.欄目導(dǎo)航調(diào)用標(biāo)簽:

<a href="/">首頁</a></li>
{dede:channel type='top' row='8' currentstyle="<li class='thisclass'><a href='~typelink~'>~typename~</a> </li>"}
<li><a href='[field:typelink/]' target="_blank">[field:typename/]</a> </li>
{/dede:channel}

5.指定調(diào)用欄目標(biāo)簽:

{dede:onetype typeid='ID'}[field:typename /]{/dede:onetype}

6.頻道欄目調(diào)用標(biāo)簽:

{dede:channel type='self'}<li><a href='[field:typelink/]'>[field:typename/]</a></li>{/dede:channel}

7.友情鏈接調(diào)用標(biāo)簽:

{dede:flink row='24' linktype=2/}

8.網(wǎng)站版權(quán)調(diào)用標(biāo)簽:

{dede:global name='cfg_powerby'/}

9.網(wǎng)站備案調(diào)用標(biāo)簽:

{dede:global name='cfg_beian'/}

10.當(dāng)前欄目名稱標(biāo)簽:

{dede:field name='typename'/}

11.當(dāng)前位置調(diào)用標(biāo)簽:

{dede:field name='position'/}

12.列表文章調(diào)用標(biāo)簽:

{dede:list pagesize='8'}{/dede:list}

13.欄目鏈接調(diào)用標(biāo)簽:

[field:typelink function='str_replace("a ","a class=ulink ",@me)'/]

14.作者鏈接調(diào)用標(biāo)簽:

[field:writer /]

15.列表點(diǎn)擊調(diào)用標(biāo)簽:

[field:click/]

16.列表評(píng)論調(diào)用標(biāo)簽:

[field:postnum/]

17.查閱全文調(diào)用標(biāo)簽:

<a href="[field:arcurl/]">查閱全文...</a>

18.列表時(shí)間調(diào)用標(biāo)簽:

[field:pubdate function="GetDateTimeMK(@me)"/]

19.列表分頁調(diào)用標(biāo)簽:

{dede:pagelist listsize='4' listitem='index pre pageno next end '/}

20.文章標(biāo)題調(diào)用標(biāo)簽:

{dede:field name="title"/}

21.文章來源調(diào)用標(biāo)簽:

{dede:field name='source'/}

22.文章作者調(diào)用標(biāo)簽:

{dede:field name='writer' /}

23.文章時(shí)間調(diào)用標(biāo)簽:

{dede:field name='pubdate' function='GetDateMk(@me)'/}

24.文章Tag調(diào)用標(biāo)簽:

{dede:tag type='current'/}



收縮
  • 微信客服
  • 微信二維碼
  • 電話咨詢

  • 400-1100-266