Is bbPress Taking over your BuddyPress User page titles?
Have you enabled bbPress 2.3+ on your BuddyPress site? If yes, you might have noticed that the page titles for user pages are taken over by bbpress and either it shows your profile or Xyz's Profile for other user like this
I am not sure if it is a generic case or just specific to my test installs but I found it on two of my installs.
So, here is my fix. Idf you having this problem, please put this code in your bp-custom.php or functions.php and It will fix that behavior.
1 2 3 4 5 6 7 8 9 | function fix_bbp_user_condition() { if ( has_filter( 'bbp_is_single_user', 'bbp_filter_is_single_user' ) ) { remove_filter( 'bbp_is_single_user', 'bbp_filter_is_single_user', 10 ); } } // remove the bbp filter which makes bbp_is_single_user true for BuddyPress users. add_action( 'wp_loaded', 'fix_bbp_user_condition' ); |
Hope that helps 🙂