How to display custom profile field?
Is there a way to use template tags to display a single profile field?
For example, I created a field “Title” and I’d like to display that alongside the user’s blog posts, so it would say “Posted by TestUser (<b>Title: Cool Guy</b>), on Jan 30…”
As a test I tried <?php echo bp_get_field_data(3, 1); ?> where 3 is the custom field_id (“Title”) and 1 is the user_id. However, that failed to display anything.
I’m thinking about just doing a custom MySQL query…
You must be logged in to reply to this topic.