Support » Themes and Templates » Conditional display on every post page but latest

  • Hello,

    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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional display on every post page but latest’ is closed to new replies.