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?
Fetching latest tweet ...
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?
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' );
Better CSS for hiding child-pages on bbPress pages
.bbPress .child-page {
display: none;
}
This topic has been closed to new replies.