Quick Tip – Infinite WordPress Next/Previous Buttons

I recently found myself needing to create an infinite loop of posts. So once you’re reading a blog article, you can click to the next one. But what happens when there aren’t any more to read? Well, the client wanted it to go back to the first post. So, I wrote this little gem. Feel free to use: