I have exact the same problem and question!
Me too. I want to be able to tell bbPress which layout in my theme to use. The default layout has a skinny column and 2 side columns. I don’t want this for the forum.
Guys,
I’d hate to be a pest, but can this be addressed by the powers-that-be? I’d handle a ‘It isn’t possible’ or even a ‘It will require considerable code work, you might want to outsource a developer’.
I have pored through this forum’s previous posts, without much luck finding a thread where it is discussed.
And, to me, it seems like a fairly common question – especially with regards to aesthetics.
Again, I think this forum software is nothing but excellent, especially for smaller (or, in our case, a nonprofit) businesses that are looking for a solution that isn’t gaudy or bloated.
Looking forward to the responses …
Nate
You will need to do some custom development on your end. This isn’t implemented in core (at least not yet) because at the moment each theme/framework handles their layout options differently – so there is no easy way to cover them all.
You can probably use the code in https://wordpress.org/extend/plugins/bbpress-genesis-extend/ as an example.
Basically you will want to check for is_bbpress() and if that comes back true then run your code that forces the full width layout.
I don’t know if this is of any help but to get what I did at SWNK (http://www.swnk.org/forums/) I added the following code to my functions.php:
function disable_all_widgets( $sidebars_widgets ) {
// if ( bbp_is_forum() ) {
if (is_bbpress()) {
$sidebars_widgets = array(false);
remove_all_actions(‘bp_register_widgets’);
unregister_sidebar( ‘bp_core_widgets’ );
}
return $sidebars_widgets;
}
add_filter(‘sidebars_widgets’, ‘disable_all_widgets’, 1, 1);
Then I added some CSS to put the login widget above the forum.
Did you add this in the main theme or in the bbpress twenty ten directory?
I just commented out the sidebar from all my bbpress template files, worked perfectly.
@softechnos : Main theme.
Inside your theme folder for bbpress.
/wp-content/plugins/bbpress/bbp-themes/<YOUR_THEME>