Title: burpen's Replies | WordPress.org

---

# burpen

  [  ](https://wordpress.org/support/users/burpen/)

 *   [Profile](https://wordpress.org/support/users/burpen/)
 *   [Topics Started](https://wordpress.org/support/users/burpen/topics/)
 *   [Replies Created](https://wordpress.org/support/users/burpen/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/burpen/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/burpen/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/burpen/engagements/)
 *   [Favorites](https://wordpress.org/support/users/burpen/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to exclude category from home page but ensure minimum 5 posts per page](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/)
 *  Thread Starter [burpen](https://wordpress.org/support/users/burpen/)
 * (@burpen)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/#post-1326606)
 * [@lividinstruments](https://wordpress.org/support/users/lividinstruments/): Put
   it in your [Loop](http://codex.wordpress.org/The_Loop). Look under the “Exclude
   Posts From Some Category” section in that link for an example.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to exclude category from home page but ensure minimum 5 posts per page](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/)
 *  Thread Starter [burpen](https://wordpress.org/support/users/burpen/)
 * (@burpen)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/#post-1326502)
 * I think I fixed it. I wanted to exclude multiple categories but I was passing
   the parameter to query_posts like so:
    `$posts = query_posts($query_string . "&
   cat=-35-21-73");`
 * This was being discarded as an invalid parameter. I was getting all posts and
   filtering out the categories later on, so I never caught that my query_posts 
   was failing. I really needed it to look like:
    `$posts = query_posts($query_string."&
   cat=-35,-21,-73");`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to exclude category from home page but ensure minimum 5 posts per page](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/)
 *  Thread Starter [burpen](https://wordpress.org/support/users/burpen/)
 * (@burpen)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/how-to-exclude-category-from-home-page-but-ensure-minimum-5-posts-per-page/#post-1326386)
 * Oops, semi-misstated title for this topic. Should have been “exactly 5 posts 
   per page”…

Viewing 3 replies - 1 through 3 (of 3 total)