Wordpress Custom Adjacent Post Function Fix

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.

Evner: HTML, PHP, WordPress

Se mere: wordpress posts not found, wordpress custom, wordpress bug, publish post, wordpress recent post, post publish, recent post, custom function wordpress, recent post wordpress, custom post type archive wordpress, need help fixing wordpress site, blog recent posts, wordpress code fix, post file http, wordpress code snippets, unique wordpress blog posts, wordpress fix custom code, fix pagination taxonomy custom post type, wordpress fix links, wordpress custom site, php code recent posts, wordpress site fixing, bug wordpress, current custom blog, wordpress fixing

Om arbejdsgiveren:
( 149 bedømmelser ) Seguin, United States

Projekt ID: #4047456

Tildelt til:


Hello, I know how to fix this bug! Let's me do it for you! Thank you!

$30 USD in 0 dage
(13 bedømmelser)

3 freelancere byder i gennemsnit $87 på dette job


Please check PMB for more info.

$200 USD in 2 dage
(273 bedømmelser)

Allow me to help you on this task

$30 USD in 2 dage
(2 bedømmelser)