Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,851
- How-to & Troubleshooting
- 128,868
- Creating & Extending
- 25,736
- Requests & Feedback
- 9,445
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,388
- Miscellaneous
- 9,132
-
Alrighty, I figured it out!!
So, it looks like the function “bp_get_member_profile_data”, which is suggested for use on the members-loop page, doesn’t work with field IDs, nor accents, nor apostrophes. To get around this, I used the function that is used in member-header.php (bp_profile_field_data), which does accept field IDs, but specified the user. Here was the final code I used:
`bp_get_profile_field_data( ‘field=17&user_id=’ . bp_get_member_user_id() );`
Hope this helps somebody!
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS