Re: Providing additional Info in userlist
I’ve been trying like crazy to get that happening with some success, but some very wonky failure too, that I have been totally unable to track down.
For example, in my childtheme’s members-loop.php, after [?php do_action( ‘bp_directory_members_item’ ) ?]
I’ve added a div with
[span]Website: [a href=”[?php bp_member_profile_data(‘field=Website’); ?]”][?php bp_member_profile_data(‘field=Website’); ?][/a][/span]
which works fine.
What I’ve totally been unable to do is to display that span conditionally based on whether the field has data or not. Not sure if it’s a bug or if I’ve been trying the wrong things.