First, thanks for bringing this up as it has annoyed me for ages that I couldn’t get this to work and now it does.
The info at https://codex.www.ads-software.com/Template_Tags/next_post helped me tons – totally. Here is the code I used, following the helpful info, to make it work. Now, you might not know php, but hopefully you can recognize the HMTL and CSS where I jazzed it up a little to look better.
<?php if ($single) { ?>
<p class=”prevnext”><?php previous_post(‘%’, ‘<b>PREVIOUS:</b> ‘, ‘yes’); ?> <?php _e(“<span>•</span>”); ?> <?php next_post(‘%’, ‘<b>NEXT:</b> ‘, ‘yes’); ?>
In my CSS class, I have it set to have a border on top and bottom and be 80% of the default font size with a span to make the bullet (a circle) blue. You can see it in action at https://www.cameraontheroad.com/wordpress/ and I did a search through my index.php for
php if ($single)
and pasted the previous/next statement in there. Worked great.