@corytrevor
11 years, 2 months ago
Hi @bphelp
Thanks for pointing that out. Here is the new and improved solution:
<?php elseif ( function_exists('bp_current_component') && ( bp_current_component() ) ) : ?> <h1><?php the_title(); ?></h1>
Cheers
Update: The themes author was kind enough to provide the code to add to display the buddypress page titles. Add: <?php elseif ( function_exists('bp_is_page') && ( bp_is_page( BP_BLOGS_SLUG ) || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() || bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) ) : ?> <h1><?php the_title(); ?></h1> to functions.php just below where it has: <?php if (is_page()) : ?> <h1><?php the_title(); ?></h1>
<?php elseif ( function_exists('bp_is_page') && ( bp_is_page( BP_BLOGS_SLUG ) || bp_is_page( BP_FORUMS_SLUG ) || bp_is_page( BP_ACTIVITY_SLUG ) || bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() || bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) ) : ?> <h1><?php the_title(); ?></h1>
<?php if (is_page()) : ?> <h1><?php the_title(); ?></h1>
Hi
You can add the bbpress shortcodes to a page to display your forums on it – https://codex.bbpress.org/shortcodes/