I was looking for Wordpress code that would allow me to publish a list of entries in the sidebar of my site, specifically the five posts made prior to the current post and the five posts made after for a total of 10 unique links relative to the current post.
I found someone else trying to solve this at [url removed, login to view] which almost works... But I need your help fixing one bug with it.
This code shows the five posts made prior to the current post which is great but instead of showing the five made after, it defaults to the five most recent posts overall in the entire blog. That's not so good... These need to be the five posts made after the current post, not overall on the blog.
I have included the two snippets of code being used on my blog with some notes. You must deliver the solution back to me in a .txt file.