废话不多说了 织梦dedecms任意模板调用全站随机文章标签的方法如下
<h2>本站随机文章</h2> <ul> {dede:arclist row=8 titlelen=42 orderby=rand typeid=rand} <li><a href=”[field:arcurl/]“>[field:title/]</a></li> {/dede:arclist} </ul>
<h2>本站随机文章</h2>
<ul>
{dede:arclist row=8 titlelen=42 orderby=rand typeid=rand}
<li><a href=”[field:arcurl/]“>[field:title/]</a></li> {/dede:arclist}
</ul>