Need help? Check out our Support site, then

How to offset posts on multiple pages?

  1. Hello! I'm a student in a web class, and we're working on a website. I'm very new to php, so please forgive me because I don't know much about it. I was trying to figure out a way to make an archived news page. Basically you'd click on a link on the front page news, and be taken to another page with all the archived news. My idea was to have 10 posts per page, and to offset them by 10. So the next page would have posts 11-20, then the next one 21-30. Also, is there a way to automate the pages so when you click the "next page" link , a page would automatically generate with the next 10 news items in line. If somebody could tell me what kind of code to use, or point me to a tutorial or something, that would be very helpful!

  2. Is this your blog:

Topic Closed

This topic has been closed to new replies.

About this Topic