Title: strange layout bug
Last modified: August 21, 2016

---

# strange layout bug

 *  Resolved [kriskl](https://wordpress.org/support/users/kriskl/)
 * (@kriskl)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/strange-layout-bug/)
 * Hello,
 * it is a very strange bug,
    when bbpress genesis extend is enabled, this function
   stops working..
 * add_filter( ‘genesis_pre_get_option_site_layout’, ‘change_layout_posts_in_category’);
 * function change_layout_posts_in_category( $opt ) {
    if (in_category( array( aat,
   afna ) ) ) { $opt = ‘full-width-content’; return $opt;
 * }
    }
 * (what this function does is to change the default layout to full width for posts
   belonging to 2 categories (aat and afna)
 * any thoughts? or maybe ideas what is wrong with the function so it does not stop
   working?
 * thanks
    kris
 * [http://wordpress.org/plugins/bbpress-genesis-extend/](http://wordpress.org/plugins/bbpress-genesis-extend/)

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

 *  Plugin Author [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * (@jaredatch)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/strange-layout-bug/#post-4139714)
 * Thanks for reporting the issue.
 * I think I know what the problem is. Will you remove the plugin from your site
   and install this copy: [https://dl.dropboxusercontent.com/u/7263937/bbpress-genesis-extend.zip](https://dl.dropboxusercontent.com/u/7263937/bbpress-genesis-extend.zip)
 * If that works let me know and I will roll the fix out to all users.
 *  Thread Starter [kriskl](https://wordpress.org/support/users/kriskl/)
 * (@kriskl)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/strange-layout-bug/#post-4139723)
 * Thank you,
    that was quick fix, and it works!
 * kind regards
    Kris
 *  Plugin Author [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * (@jaredatch)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/strange-layout-bug/#post-4139724)
 * Great. Will push up and update with a fix later this week.
 * Thanks again for reporting, appreciate it.

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

The topic ‘strange layout bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bbpress-genesis-extend.svg)
 * [bbPress Genesis Extend](https://wordpress.org/plugins/bbpress-genesis-extend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-genesis-extend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-genesis-extend/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-genesis-extend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-genesis-extend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-genesis-extend/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jared Atchison](https://wordpress.org/support/users/jaredatch/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/strange-layout-bug/#post-4139724)
 * Status: resolved