Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Parent Forum Name in

Not the cleanest way of doing it no doubt, but I’d use something like this modified version of the breadcrumb function:

<?php
$separator = ' -- ';

if( bb_is_forum() ) :
$trail = '';
$trail_forum = bb_get_forum(get_forum_id());
$current_trail_forum_id = $trail_forum->forum_id;
while ( $trail_forum && $trail_forum->forum_id > 0 ) {
$crumb = $separator;
$crumb .= get_forum_name($trail_forum->forum_id);
$trail = $crumb . $trail;
$trail_forum = bb_get_forum($trail_forum->forum_parent);
}
$title = substr( $trail . $separator . bb_get_option( 'name' ), strlen( $separator ) );
else :
$title = bb_get_title( array( 'separator' => $separator ) );
endif;
?> <title><?php echo $title?></title>

Skip to toolbar