织梦标签分类
SEO人员经验分享:dede织梦标签大全
空格符号:
qq链接:https://wpa.qq.com/msgrd?v=3&uin=1937655878&site=qq&menu=yes
{style}/index_article.htm
{style}/list_article.htm
{style}/article_article.htm
{dede:global.cfg_zhuquyu/}
织梦调用网址:{dede:global.cfg_basehost/}
织梦首页调用栏目子栏目:
{dede:channel type='son' typeid ='3' row ='4'}
<a href="[field:typelink/]" >[field:typename/]</a>
{/dede:channel}
相关搜索,热门关键词:
<ul>
<li>{dede:likewords num='8'/}</li>
</ul>
内容页标题:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field.keywords/}" />
<meta name="description" content="{dede:field.description function='html2text(@me)'/}" />
首页标题:
<title>{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
首页调用文章:
{dede:arclist typeid=2 row=12 titlelen=132 orderby='pubdate' }
<li><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
热点内容:
{dede:arclist row=10 orderby=click}
<li><a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
推荐内容:
{dede:arclist flag='c' titlelen=142 row=6}
<li><a href="[field:arcurl/]">[field:title/]</a>
<p>[field:description function='cn_substr(@me,80)'/]...</p>
</li>{/dede:arclist}
相关文章调用:
{dede:likearticle row=13 titlelen=134 typeid=1 }
<li><a title="[field:fulltitle/]" href="[field:arcurl /]">[field:title /]</a></li>
{/dede:likearticle}
首页调用公司简介
{dede:sql sql='Select content,substring(content,1,300) as content from dede_arctype where id=1'}[field:content function='html2text(@me)'/]{/dede:sql}
友情链接:
{dede:flink type='textall' row='24'} [field:link /] {/dede:flink}
手机端显示:
<style>
@media screen and (max-width: 678px) {.online_consu{display:none;}
}
</style>
日期格式:文章页
{dede:field name='pubdate' function='GetDateMk(@me)'/}
日期格式:列表页
[field:pubdate function="GetDateMK(@me)"/]
首页调用tag标签
{dede:tag row='10' sort='new'} <a href='[field:link/]'>[field:tag /]</a>{/dede:tag}
文章调用tag标签:
{dede:tag table='dede_search_keywords' sort='keyword' row='3' if=''}
<a class=blue href='[field:link/]' target=_blank>[field:tag /]</a>
{/dede:tag}
列表页调用tag标签:
热搜词:[field:id function=GetTags(@me)/]
列表页翻页
{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}
列表页调用子栏目:
{dede:channel row='10' type='son' }
<a href="[field:typelink/]">[field:typename/]</a>
{/dede:channel}
列表页热门资讯:
{dede:arclist row='8' titlelen='60' orderby='hot' subday='30'}
<li > <a href="[field:arcurl/]">[field:title/]</a></li>
{/dede:arclist}
列表页调用文章: