Many blogs have links to the next and previous posts at the beginning or end of each post. The default theme in WordPress 3.0, TwentyTen, has those links too. But what happens when you’re viewing either the latest post or the very first post of a blog?
In TwentyTen, no previous link will be created on the first post, and no next link will be output on the latest post. This makes sense since there obviously is nothing “previous� or “next� to link to. However, there is some unnecessary markup that will always be output, and here are a couple of ways to get rid of it.
Posted in WordPress.