Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Editing Group and Forum page title tags


Boone Gorges
Keymaster

@boonebgorges

Should be easy to customize this the way you want it.

Put this in functions.php of your theme:

function my_page_title( $title, $b ) {
global $bp;

if ( $bp->current_action == 'forum' && $bp->action_variables[0] == 'topic' ) {
if ( bp_has_topic_posts() ) {
$topic_title = bp_get_the_topic_title();
$title .= ' | ' . $topic_title;
}
}
return $title;
}
add_filter( 'bp_page_title', 'my_page_title', 10, 2 );

Obviously this might not be exactly what you want, but you should pretty easily be able to customize it to say whatever you want, for different kinds of pages.

Skip to toolbar