I want to choose random id of a post in my wordpress and then display 10 links to next posts that are right after the one that I draw.
For example I have 10 000 posts in my wordpress. I draw random number 5739, so I want to get links do posts of id-s: 5739, 5740, 5741, 5742 ... 5748.
Can someone help me with the code that can do such thing?
Thanks in advance for your help.