Remove Sidebar
-
Hello
I installed bbpress but the forum comes close by the presence of the sidebar, how can eliminate the sidebar to the full width of the page is for the forum?
http://www.adelgazarrapidoweb.com/forums/forum/foro-para-adelgazar/
wordpress 3.7.0
bgpress 2.4.1Regards
Mark
-
you can add this function to your functions.php
function disable_all_widgets( $sidebars_widgets ) { if ( function_exists('is_bbpress') ) { 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);
or this to your style.css
.bbPress #primary { display: none; }
This solution didn’t solve the problem at all. All it did was hiding the widgets in the sidebar, and I want to remove the entire sidebar.
ok, try this – I have culled it from varous other posts, in particular
Don’t swear it will work, but give it a go
1. Create a page called “forums”,
2. make this page a full width page – if your theme doesn’t support this, then you’ll need to create a child theme and add a full page template.
3. Put this shortcode on the page[bbp-forum-index]
4. edit the following file
wp-content/plugins/bbpress/templates/default/css/bbpress.css
by removing the left float fromdiv.bbp-breadcrumb
(line 405)
5. In your style.css add the following.bbPress #primary { display: none; } .bbp-forums { width: 100%; }
let us know if that works
Tell WP 4.0 bbPress 2.5.4
how to disable the sidebar on the forum page?
You can configure the plugin to add the ability to enable or disable the sidebar?Thanks for the link!
Long read only the third time realized.
Step by step:
1 Find in your site template page with no sidebar.
2 Make a copy of it.
3 Rename the page to bbpress.phpgreat – glad you’re fixed !
There is an issue with wp4.0 and default permalinks.
This gives 404 errors with sub forums for users with default permalinks. This is due to a bug in wp4.0, and netweb is on the case to get this fixed in 4.0.1
There are 3 workarounds
1. Change your permalinks to any of the other settings
Dashboard>settings>permalinks
The most often used is ‘postname’
This will not only fix your issue, but make your links look prettier. However if you have links to your site forums from other sites/emails, these links might break (ie they will come up as 404 errors), but if your choice is between users not accessing, or users complaining that the link in that old email no longer works, then resetting might seem a good idea.
2. revert to 3.9.2
see
for quite a good video on how to do it
3. Move your sub-forums up a level ie make them all main forums
and keep monitoring this site for a solution.
Thank you said! When I installed the site, I wrote the default /%postname%/
Hi ! I didn’t really managed to remove sidebar nicely… :/
So I created a new support topic : https://bbpress.org/forums/topic/make-the-forum-pages-full-width/
Thanks for helping !Thanks for the clarifications, now I see it on one of my websites as I was looking.
- You must be logged in to reply to this topic.