Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing columns on Forum Pages

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

  • sithinquisitor
    Member

    @sithinquisitor

    Hi again :)

    I have remedied a part of this by making a new page template for the page that shows bbpress.

    http://www.sithinquisitors.com/sith-inquisitor-forums/

    My problem now is that all other pages apart from the forum main page wont use the template page I have made and revert back to the three column default template of the site. Such as http://www.sithinquisitors.com/old-republic-forum/class-discussion/

    Is there something that I am missing to get this to work? thanks!


    pimarts
    Participant

    @pimarts

    I run a combination of bbPress & Buddypress and this worked for me, I did put the following code in functions.php:

    function disable_all_widgets( $sidebars_widgets ) {

    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);

    This removed all widgets aside from the user login, but that’s quite handy to be present at the forum pages. I put that on top of the forums with CSS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar