I have been developping a new template for my blog (http://www.chacsam.be) with an information frame on the sidebar of the detail page.
I would like to avoid displaying the link to the next post (including button which is a customization) on the latest one.
Which command should I implement?
I guess it can be something around
<?php if (???()) : ?><li class="artnext"><?php next_post_link('%link'); ?></li> <?php endif; ?>
But what should I put instead of the ???. Or isn’t it that easy