Offset the posts in category.php
-
Right now in category.php, I have an if($paged) statement.
If $paged returns 0, then we are on the first page and I only show 5 posts. Else, show all 10 posts as intended.
The problem is that there are 5 missing posts, because the first page only showed 5 instead of 10.
Is there anyway to offset the other pages back so I can make sure all posts are visible?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Offset the posts in category.php’ is closed to new replies.