模板调用代码:
<div class="hot mt1">
<dl class="tbox">
<dt><strong>相关文章</strong></dt>
<dd>
<ul class="c1 ico2">
{dede:likearticle col='2' row='10' titlelen='42'}
<li><a href=http://www.dede58.com/"[field:arcurl/]">[field:title/]</a></li>
{/dede:likearticle}
</ul>
</dd>
</dl>
</div>
找到文件:\include\taglib\likearticle.lib.php
找到代码:
$typeid = " And arc.typeid in($typeid) And arc.id<>$arcid ";
修改为:
$typeid = " And arc.id<>$arcid ";
保存,再更新至服务器就搞定了。