显示下一个/上一个帖子标题


Display next/previous post title

我想显示下一篇/上一篇文章的标题以及当前工作的图像

<div class="cover boxcaption">  
                <?php $nextImg = get_post_meta($nextPost->ID, "project-thumb", $single = true); ?>
                <a href="<?php echo $nextURL; ?>" class="view-project"><?php echo str_replace('src', 'width="128px" height="78px" src', $nextImg); ?>View Project</a>
            </div>

如果我理解你的话,我认为它就像NEXTPREV分页功能。您只需要在 next 按钮上显示下一个帖子标题,在PREV按钮上显示上一个帖子标题。我不认为这是一项艰巨的任务。

谢谢。