Exclude category from the loop?
-
I’d like to exclude all posts of a certain category from appearing on the front page, although I would like to be able to view them as single entries.
However, I also need to preserve the maximum number of posts shown per “blog page,” which you can set under Options > Reading.
The problem with the approach outlined here is that if you’re excluding posts of category 3, if your max number of posts shown per page is 10, and if 8 of the 10 most recent posts are of category 3, then you’ll end up with only 2 posts on your first page, instead of 10.
What can I do to get around this?
Thanks for your help.
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Exclude category from the loop?’ is closed to new replies.