get_adjacent_post alternative on a very large db
I’m using get_next_post and get_previous_post (from the same category) to show the thumbnail and link to the respectives posts in my single template, but it’s in a very large db that is giving my server a hard time. There are 49, 984 posts in the site, between published posts, drafts and attachments: mysql> select post_status, … Read more