I've added navigation to single-attachment.php: <div class="navigate"> <div class="previous"><?php previous_image_link( false, ' '); ?></div> <div ...
I've got another question regarding next / previous post. At the moment I'm working on our portfolio with several items. Each item is a post with a title, category & featured image. When viewing ...
i am using below code which should render next and previous post thumbnail but it is showing the current post thumbnail in Custom Post Type single page <?php $prevpost = get_previous_post(true); ...
Is there a simple way to use the post thumbnail when calling previous_post_link() and next_post_link()?