Title: Exclude categories from Grid Loop
Last modified: August 20, 2016

---

# Exclude categories from Grid Loop

 *  Resolved [brunotellier](https://wordpress.org/support/users/brunotellier/)
 * (@brunotellier)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-from-grid-loop/)
 * Hi Bill,
 * It’s possible to exclude a category from the Genesis grid,I want some categories
   display normally on Category Blog Page.
 * Thanks
 * Bruno
 * [http://wordpress.org/extend/plugins/genesis-grid-loop/](http://wordpress.org/extend/plugins/genesis-grid-loop/)

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

 *  Thread Starter [brunotellier](https://wordpress.org/support/users/brunotellier/)
 * (@brunotellier)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-from-grid-loop/#post-3163088)
 * Hi Bill,
 * I play in the code and I find a way to do what I want.
 * ( $query->is_category(‘category id’) && genesis_get_option( ‘grid_on_category’,‘
   genesis-grid’ ) )
 *  Plugin Author [Bill Erickson](https://wordpress.org/support/users/billerickson/)
 * (@billerickson)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-from-grid-loop/#post-3163151)
 * There’s a filter called `genesis_grid_loop_section` which gives you fine-grained
   control over where the grid loop is used.
 * Example: [http://www.billerickson.net/code/limit-genesis-grid-to-specific-category/](http://www.billerickson.net/code/limit-genesis-grid-to-specific-category/)
 * First you pull out the line you want to control (in this case, the category line).
   Then you create an if statement inside it for your specifics. In this example
   I’m excluding the grid loop from one specific category. You could do the reverse
   by setting it to ‘true’ if on a specific category and ‘false’ for anything else.
 * This code goes in your theme’s functions.php file. The benefit to this approach
   is that, when I update the plugin, you won’t lose your changes.
 *  Thread Starter [brunotellier](https://wordpress.org/support/users/brunotellier/)
 * (@brunotellier)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-from-grid-loop/#post-3163160)
 * Thank you Bill

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

The topic ‘Exclude categories from Grid Loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/genesis-grid-loop.svg)
 * [Genesis Grid](https://wordpress.org/plugins/genesis-grid-loop/)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-grid-loop/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-grid-loop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-grid-loop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-grid-loop/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [brunotellier](https://wordpress.org/support/users/brunotellier/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/exclude-categories-from-grid-loop/#post-3163160)
 * Status: resolved