Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,910
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,183
-
Hi,
It is easy to do that.
Here is a function, you can put it in your bp-custom.php or your theme’s functions.php
function devb_show_displayed_user_email() {
if( ! bp_is_user() )
return ;
$user_email = bp_get_displayed_user_email();
echo "<a href='mailto:{$user_email}'>{$user_email}</a>";
}
And you can call it on the user profile like this
<?php devb_show_displayed_user_email();?>
and It will show the email as links.
Hope that helps.