How To: Change your mystery man image
-
may have asked how to change the image BP uses for the ‘mystery man’ choice in BP General Settings. It’s simple and copying your own image into the bp-core/images folder is not the answer! Just do this ->
In your theme’s functions.php add -> (assumes you have a child theme called ‘my-theme’
function my_new_mysteryman () {
return site_url('/wp-content/themes/my-theme/_inc
/images/my-new-mystery-man.jpg' );
}
add_filter( 'bp_core_mysteryman_src' , 'my_new_mysteryman', 1, 7 );Note: You will not see your awesome new mystery man image show up in the BP admin area but it will populate throughout your site.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How To: Change your mystery man image’ is closed to new replies.