WP plugin: How to split to multiple pages, automatically ?
- by Tomer
Hello there.
I'm writing a WP plugin, that shows DB records in a table. Because the list is too long, I'd like to split it to multiple pages, based on the same display. I can do that manually with handling URL parameters, and using PHP, but I wanted to know if there's a structed method to to that.
http://site.com/list --> records 1-20
http://site.com/list/2 --> records 20-40
Thanks,
Tomer