How to make buddypress profile menu display username and user photo?

I am building a wordpress website and using buddypress plugin for community building.I added profile menu of buddypress from menu options in the dashboard.
Profile menu of buddypress only shows “profile” in the menu.How can i change the profile to show username and profile photo.

I can use bp_loggedin_user_avatar('width='.bp_core_avatar_thumb_width(). '&height='.bp_core_avatar_thumb_height()); for displaying buddypress profile photo and $current_user = wp_get_current_user(); echo $current_user->display_name; for displaying username.

But i don’t know where to use this code to change profile menu to display username and user photo.

Thanking you in advance.

Read more here: How to make buddypress profile menu display username and user photo?

Leave a Reply

Your email address will not be published. Required fields are marked *