bbPress Listing Pages?

  • Anonymous

    #6336

    I’m having a small problem with bbPress on the latest Graphene template.

    “Pages” from the site are displaying under the forum output:

    http://www.wb0hsi.org/wordpress/forums/

    Any ideas to fix this?

    Prasanna SP

    #34052

    Quick fix. Add the below code to Graphene Options –> Display –> Custom CSS

    .forum-archive .child-page {
    display: none;
    }

    This will just hide the child pages. If you want to completely remove the child page listing output on forum, add the below code to child-theme’s functions.php file, anywhere between <?php and ?>

    function graphene_remove_child_pages_on_bbpress(){
    if (function_exists('is_bbpress') && is_bbpress()) {
    global $graphene_settings;
    $graphene_settings['child_page_listing'] = hide;
    }
    }
    add_action( 'template_redirect', 'graphene_remove_child_pages_on_bbpress' );

    Prasanna SP

    #34053

    Better CSS for hiding child-pages on bbPress pages

    .bbPress .child-page {
    display: none;
    }
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.