typecho教程:根据TAG调用相关文章

根据TAG调用相关文章

2013-03-26

根据TAG调用相关文章:

<?php $this->related(5)->to($relatedPosts); ?>
<ul>
    <?php while ($relatedPosts->next()): ?>
    <li><a href="<?php%20$relatedPosts->permalink();%20?>" title="<?php $relatedPosts->title(); ?>"><?php $relatedPosts->title(); ?></a></li>
    <?php endwhile; ?>
</ul>