<?php $this->related(5)->to($relatedPosts); ?>

    <ul>

<?php while ($relatedPosts->next()): ?>

    <li><a href="<?php $relatedPosts->permalink(); ?>" title="<?php $relatedPosts->title(); ?>"><?php $relatedPosts->title(); ?></a></li>

<?php endwhile; ?>

    </ul>

标签: none

添加新评论