• Is there any way to hide the Hueman sidebars on all bbPress related forum pages? So far, what I’ve done is I’ve added this code to the Child Theme’s function.php:

    function rkk_widgets_init() {
    
        register_sidebar( array(
            'name' => __( 'bbPress Sidebar', 'rkk' ),
            'id' => 'bbp-sidebar',
            'description' => __( 'A sidebar that only appears on bbPress pages', 'rkk' ),
            'before_widget' => '<aside id="%1$s" class="widget %2$s">',
            'after_widget' => '</aside>',
            'before_title' => '<h3 class="widget-title">',
            'after_title' => '</h3>',
        ) );
        }
    
    add_action( 'widgets_init', 'rkk_widgets_init' );

    This has added a dedicated “bbPress Sidebar” section to Dashboard > Appearance > Widgets, however I’ve not been able to find any simple information regarding what to do next after searching.

    Essentially, I’d want a 1 Column Hueman layout for every bbPress related page and then implementing a dedicated bbPress sidebar, but I’m not sure how to achieve this. I’ve tried following this bbPress codex documentation.

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

The topic ‘Hiding sidebars using the bbPress plugin’ is closed to new replies.