Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
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