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