Category Archives: WordPress

Display BuddyPress Profile Fields Anywhere

If you want to echo BuddyPress’s extended profile fields outside the loop, you need to add the $bp->loggedin_user->id parameter. Here’s the code using a Genesis hook (substitute a hook for your theme): function show_extra_profile_fields() { global $bp; $myfield = xprofile_get_field_data( … Continue reading

Posted in Featured, WordPress | Comments Off