Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialshalonestrada
868 PointsPagination help
I followed this tutorial from Treehouse to create multiple loops for my home page. They didn't cover pagination options. I can not get pagination to work, help!
I'm using the code here starting with
<?php query_posts('showposts=1&post_type=post'); ?>
1 Answer
Ted Sumner
Courses Plus Student 17,967 PointsPlease provide a more complete description of what you are trying to do and post the complete code. I am not clear what you are attempting to do and the source of your data.
Pagination (and many other topics) are addressed in this series of courses:
http://teamtreehouse.com/library/build-a-simple-php-application
http://teamtreehouse.com/library/enhancing-a-simple-php-application
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 PointsEdited to format code.