基本上下面的代码显示了下一个类别的帖子,而不是显示。PHP - WordPress的上一篇文章链接显示在最后一篇文章
我希望这消失,如果在最后一个帖子循环。
然而,接下来一个人工作,我怎么指望它没有显示它,如果它是在第一的职位:
<div class="post-next"><?php next_post_link('%link', true); ?></div>
这是一个简单的while循环没有crazyness:
<?php
// Start the loop.
while (have_posts()) : the_post();
// Like so content in side
endwhile;
?>
其他人有这个问题吗?
顺便说下一篇文章不属于同一类别。
对不起杰里米更好的描述我的问题 – MaxwellLynn