Hey guys. I'm setting up a custom blog, and on the index page, I want users to be able to click to go to the next post down, so they don't have to scroll.
The best way that I can think to do this is to link it to the previous post id (rather than permalink to the previous post). I know how to get the current post ID, but I'm at a loss as to how to get the ID for the previous post. Is this going to require a custom function? i've done a lot of searching but have come up with nothing so far.
Thanks for your help!
for example, each div is id'ed "post-53" or whatever number the current id post is. I want a link that will go to "#post-52" which goes to the div for post-52.