找到post-single.php文件 在合适位置添加如下代码<pre class='prettyprint lang-php'>
{foreach GetList(6,$article.Category.ID) as $related}
<li>
<span&nb
找到post-single.php文件
在合适位置添加如下代码
<pre class="prettyprint lang-php">
{foreach GetList(6,$article.Category.ID) as $related}
<li>
<span class="time">{$related.Time('m-d')}</span>
<span class="title"><i class="icon-doc-text"></i> <a href="{$related.Url}" title="{$related.Title}"> {$related.Title} </a></span>
<small class=“pcomm”>
<i class="icon-comment-1"></i> <a href="{$related.Url}#comments" rel="nofollow" title="{$related.Title}">{$related.CommNums}</a>
</small>
</li>
{/foreach}
</pre>
上一篇:通过AJAX方式下载文件
评论列表
发表评论
热评文章
相关阅读