@mihaylovra
2 years, 8 months ago
It turned out to make a profile title as well:
/** * Filters wpseo meta title. * * @param string $title title. * * @return string */ function bpdev_bp_items_title( $title ) { if ( bp_is_blog_page() || bp_is_directory() ) { return $title; } if ( bp_is_user() ) { $title = sprintf( ' %s @%s looking for dating in %s ', bp_get_displayed_user_fullname(), bp_get_displayed_user_username(), bp_get_member_profile_data('field=City') ); } return $title; } add_filter( 'wpseo_title', 'bpdev_bp_items_title' );
Hi!
This code worked for me https://archived.seventhqueen.com/forums/topic/hide-members-without-avatars#post-15504
It would be nice to include it in the default theme settings.
Actual. Please tell me, someone