Hi @mastodontmedia
You can use the following to do that.
bp_member_profile_data( 'field=the field name' );
Be sure to replace the field name with your actual profile field name. Also note it must be used within the members loop.
Thx for the answer, as I don’ know diddly about php…
where do I place it?
Where can I see the actual field name?
…as I don’ know diddly about php… where do I place it?
Ah OK. Take a look at the BuddyPress Template Hierarchy article which should explain how templates work in BP. You’ll need to create your own templates if your theme doesn’t already have them.
Yep, solved where to place it, but where would I find the field name?
You should have given a field name when you created the field in the back-end?
You mean the display name?
http://hovslagare.mdont.se/members/fredric/
The field I am looking to display is the field named: Postort
I tried putting this in the members loop: <?php bp_member_profile_data( ‘field=Postort’ ); ?>
Right below: <?php bp_member_permalink(); ?>”><?php bp_member_name(); ?>
But no joy
Take a look here for how it’s done in the default template.
Yep, I understand all of that but what I can not find is the Field Name….
but thank you for your patience and effort!
Solved the problem, I can see the field with the correct info when I inspect the element but it is not displaying on the page…