rob fenech a freelance web designer in london...

5 th
Jan 2018

Quick Tip – Infinite WordPress Next/Previous Buttons

WordPress Functions Code

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:

Leave a Reply

Your email address will not be published. Required fields are marked *