April 06
Typecho 根据TAG调用相关文章
<?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>
转自:https://www.lvtao.net/dev/671.html
万水千山总是情,给个打赏行不行。
打赏

:D 少女祈祷中...