I have a custom post type that is just a paginated post and acts as a slideshow. How can I make it so that the reader can choose an option to have the slideshow advance automatically to the next page after some preset interval (like 10 seconds)?
You can put the code that follows in your theme's
The prior code loads a file called
One thing to be aware of is you might find that it advances when you don't want it to but with this code hopefully you'll have a starting point that will let you fine-tune it.