The numbers represent the topic/post counts of each individual forum. For instance “Cognition (0, 0)” is equivalent to “Cognition (0 topics, 0 posts).”
In your theme’s functions.php file you can add the below to remove the counts:
function my_remove_list_forums_counts( $args = array() ) {
if ( ! empty( $args ) ) {
$args['show_topic_count'] = false;
$args['show_reply_count'] = false;
}
return $args;
}
add_filter( 'bbp_after_list_forums_parse_args', 'my_remove_list_forums_counts' );
To change the breadcrumb root add the below code to the same functions.php file as above:
function my_change_forum_root_breadcrumb_title( $args = array() ) {
if ( ! empty( $args ) ) {
$args['root_text'] = 'This used to be Forums';
}
return $args;
}
add_filter( 'bbp_before_get_breadcrumb_parse_args', 'my_change_forum_root_breadcrumb_title' );
Dude you are awesome.
Thank you so much.
A couple of things: The counts are gone but now the bullets are layered over the names of the forums. Is there a way to leave the main theme’s bullets alone but in the Forum bbPress reverts to generic bullet points that it’s compatible with?
http://ecopsi.org/forums/
Also I must have made a mistake with the breadcrumb code.
// Custom breadcrumb label for bbPress
function my_change_forum_root_breadcrumb_title( $args = array() ) {
if ( ! empty( $args ) ) {
$args['root_text'] = 'The EcoPsi Forums';
}
return $args;
}
add_filter( 'bbp_before_get_breadcrumb_parse_args', 'my_change_forum_root_breadcrumb_title' );
The code I provided doesn’t mess with the bullets. That’s handled by your theme. You could try something like below, but it hides the arrow bullets for those forum listings.
.hentry ul ul.bbp-forums-list li i {
background: none;
}
To fix the breadcrumb title, use the below instead.
function my_change_forum_root_breadcrumb_title( $args = array() ) {
$args['root_text'] = 'The EcoPsi Forums';
return $args;
}
add_filter( 'bbp_before_get_breadcrumb_parse_args', 'my_change_forum_root_breadcrumb_title' );